install

A setup command that adds the workflow plugin's project policy to a target Git repository and creates the work-tracking structure it needs. A Git repository is a project folder whose changes and history are managed by Git.

In plain words
What is it for?
Use it to install or run the plugin for a repository, merge its rules into CLAUDE.md, and optionally add the .worklogs directory to .gitignore so generated work records are not committed.
Why use it?
It avoids manually wiring the plugin into each repository and establishes the files needed for its workflow.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/agentic-swe/agentic-swe/install
Clone the repo
git clone --depth 1 https://github.com/agentic-swe/agentic-swe
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,461 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00023 $0.01461
Opus 5 $0.00012 $0.00731
Sonnet 5 $0.00005 $0.00292
Haiku 4.5 $0.00002 $0.00146

Measured yesterday against content hash a028cf4b3359, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

install scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/install.md · 76 lines

How it starts

The opening of the file, as written. The whole thing — 76 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/install

Plugin-first setup for a target git repository using the agentic-swe Claude Code plugin.

The pipeline markdown (commands, phases, agents including bundled helpers under agents/plugin-runtime/, templates, references, hooks, state-machine.json, …) ships inside the installed plugin and is resolved via ${CLAUDE_PLUGIN_ROOT}/.... You do not copy that tree into project/.claude/ as the primary path.

Prompt

1. Enable the plugin

  • Distribution: Add this repository as a Claude Code plugin marketplace and install agentic-swe (see project docs for the marketplace name and /plugin install flow).
  • Local development: Run Claude Code with claude --plugin-dir <path-to-this-repo-root> so the plugin root matches the repository layout (commands/, phases/, agents/, … at the repo root).

2. Project policy (CLAUDE.md)

  • Automation (shells, Cursor install, CI): from a checkout of this pack, run node scripts/merge-claude-policy.js --target /path/to/target-repo (optional --gitignore to append .worklogs/ to .gitignore when missing). The Cursor install script runs the same merger when AGENTIC_SWE_TARGET_REPO is set — see the Cursor plugin doc on the project site.
  • If the target repo has no root CLAUDE.md: offer to add one by copying or summarizing the Hypervisor policy from this pack’s root CLAUDE.md (or tell the user to copy it manually).
  • If CLAUDE.md already exists: append (do not replace) the pipeline policy using this delimiter convention:

---

<!-- BEGIN autonomous-swe-pipeline policy -- do not edit above this line -->
  • If the delimiter <!-- BEGIN autonomous-swe-pipeline policy is already present: replace only the content after the delimiter with the current policy text (upgrade path).

3. Work state: .worklogs/<id>/

Per-work artifacts (state.json, progress.md, audit.log, phase outputs) live under .worklogs/<id>/ at the target repository root (not under .claude/).

Read the full file on GitHub · 76 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 76 lines · 23 tokens per session scan A a028cf4b3359

Subscribe to this mod's changes

install is a command published in the GitHub repository agentic-swe/agentic-swe (5 stars, last pushed 3mo ago), licensed MIT. It adds 23 tokens to every session and 1,461 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.