DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to add a prose contract to AGENTS.md and Cursor rules with Sloptrim

Write the Sloptrim contract into a project so Codex or Cursor agents follow it.

Short answer: Open the project folder where the agent will work; then run /sloptrim init in an agent session that has the Sloptrim plugin installed; open the new ./AGENTS.md file and confirm the contract is present. All steps.

Authorization notice. Sloptrim is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.

Who it is forA team lead or developer whose project uses Codex or Cursor to write documentation and wants the same prose rules applied in that repo.

The problemEach agent session starts without the team's prose rules, so the output varies from one run to the next.

The outcomeThe project gets an AGENTS.md file with the Sloptrim contract and a Cursor rule in .cursor/rules/, so agents read the same guidance.

What you need first

  • Python 3.9 or newer for the detector
  • Node for the Claude Code hooks
  • Git, to clone the repository
  • A coding agent such as Claude Code, Codex or Cursor, if you want the on-save guard or the contract

Steps

  1. Open the project folder where the agent will work
  2. Run /sloptrim init in an agent session that has the Sloptrim plugin installed
  3. Open the new ./AGENTS.md file and confirm the contract is present
  4. Check that a Cursor rule was written to ./.cursor/rules/
  5. Commit the new files so the whole team gets the same contract

Prompt for your agent

In the project at <project path>, run `/sloptrim init` and report which files were written. Verify that AGENTS.md exists and that a Cursor rule exists under .cursor/rules/.

Caveat. The README describes the contract as writing advice, and 12 of the 62 detectors count for nothing in the score, so the contract does not guarantee a low score.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for seyedehsanhadi/sloptrim and "Add a prose contract to AGENTS.md and Cursor rules"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer