
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
attrition-sh
Advanced tools
CLI for installing agent harness + UI + RAG + eval patterns from attrition.sh into .claude/skills/ and AGENTS.md.
CLI for the attrition.sh Agent Workspace catalog. Installs agent harness, UI, RAG, and eval patterns from the catalog into .claude/skills/ and AGENTS.md in under 2 minutes, cold.
Catalog: https://agentworkspace.attrition.sh
npx attrition-sh pack install rag-hybrid-bm25-vector
rag-hybrid-bm25-vector is a real slug in the catalog — swap it for any pack returned by attrition pack list.
This creates:
.claude/skills/<slug>/SKILL.md — the skill, with frontmatterAGENTS.md — appended with a managed fragment between <!-- attrition:pack:<slug>:start --> / :end markers.attrition/installed.json — lockfile for drift detectionRe-running the same install is idempotent: the AGENTS.md fragment is replaced in place (no duplicates) and the SKILL.md is overwritten atomically.
attrition pack install <slug> — install a pack (default target: Claude Code)attrition pack install <slug> --target=cursor — install as a Cursor rule (.cursor/rules/<slug>.mdc)attrition pack list — list all registry packsattrition pack search <query> — search packsattrition pack verify — compare installed versions against the registrynpx attrition-sh pack install rag-hybrid-bm25-vector --target=cursor
With --target=cursor, the CLI writes:
.cursor/rules/<slug>.mdc — the rule, with Cursor-style MDC frontmatter (description, globs, alwaysApply: false). Cursor picks up any file under .cursor/rules/*.mdc automatically — no additional project config required..attrition/installed.json — the same lockfile as the Claude Code target, but with target: "cursor" recorded per pack so attrition pack verify and the catalog reverse-index can tell the targets apart.No AGENTS.md is created or modified with --target=cursor. Claude Code and Cursor can coexist in the same repo: install pack A to claude-code and pack B to cursor and both end up tracked in the same lockfile with distinct target fields.
--registry <url> — override ATTRITION_REGISTRY_URL--dry-run — print planned changes without writing--no-telemetry — disable anonymous install ping--json — emit machine-readable JSON outputATTRITION_REGISTRY_URL — base URL for the pack registry (default: https://agentworkspace.attrition.sh)^[a-z0-9][a-z0-9-]{0,99}$) at every entry point.path.resolve + path.relative — no writes escape cwd.cd cli
npm install
npm run build
npm test
npm run dev -- pack list
FAQs
CLI for installing agent harness + UI + RAG + eval patterns from attrition.sh into .claude/skills/ and AGENTS.md.
The npm package attrition-sh receives a total of 2 weekly downloads. As such, attrition-sh popularity was classified as not popular.
We found that attrition-sh demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.