project-init

project-init is a command for Claude Code from sjarmak/coding-agent-workflows. It costs 27 tokens per session (864 once invoked), scanned A, original, MIT.

A project setup workflow that creates an AGENTS.md file with project guidance and starter COMPASS.md maps for key areas of a code repository. It leaves the separate memory files untouched.

In plain words
What is it for?
Use it when starting agent-assisted work in a new or existing repository, especially when you need to initialize AGENTS.md and project context maps.
Why use it?
It gives coding agents basic project context from the start, reducing the need to rediscover the repository's structure, conventions, and constraints each time.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md). Also seen: mentions CLAUDE.md; mentions Claude Code; mentions AGENTS.md.

Good fit Use it when starting agent-assisted work in a new or existing repository, especially when you need to initialize AGENTS.md and project context maps.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/sjarmak/coding-agent-workflows/project-init
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.

Clone the repo
git clone --depth 1 https://github.com/sjarmak/coding-agent-workflows

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for project-init

README.md
[![agentmods](https://agentmods.dev/badge/commands/sjarmak/coding-agent-workflows/project-init/github.svg)](https://agentmods.dev/commands/sjarmak/coding-agent-workflows/project-init)
Your own site
<a href="https://agentmods.dev/commands/sjarmak/coding-agent-workflows/project-init"><img src="https://agentmods.dev/badge/commands/sjarmak/coding-agent-workflows/project-init/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for project-init

Your own site · 80×15
<a href="https://agentmods.dev/commands/sjarmak/coding-agent-workflows/project-init"><img src="https://agentmods.dev/badge/commands/sjarmak/coding-agent-workflows/project-init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 864 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00027 $0.00864
Opus 5.5 $0.00011 $0.00346
Sonnet 5.5 $0.00005 $0.00173
Haiku 4.5 $0.00003 $0.00086

Measured 3mo ago against content hash e4b03d9c7f92, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

project-init 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 3mo ago.

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.

targets/claude/commands/project-init.md · 78 lines

How it starts

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

Workflow: Project Init

Stand up the context layers for a project so an agent has the right knowledge in the right place from day one. The output is a thin, pointer-style AGENTS.md (intention + an empty failure-mode log + references) and seed COMPASS.md maps for the largest areas. It deliberately does not write the memory layer (CLAUDE.md / instincts) — see context-layering for why each fact gets one home.

This is a runtime-neutral spec. Any orchestrator can drive it; the steps that require judgment are delegated to the model (ZFC).

When to run

  • Setting up a new or existing repo for agent-assisted work
  • The user says "set up AGENTS.md" / "initialize agent context" / "set up compass"
  • Adopting this bundle in a project that has no intention layer yet

Steps

1. Reconnaissance

Run codebase-onboarding Phases 1-3 to detect stack, structure, entry points, and conventions. This is shared signal for both outputs below. Do not yet write any file.

2. Scaffold the thin AGENTS.md

From the recon, instantiate the AGENTS.project.md template at the repo root:

  • What this project is — fill intention: the invariants and non-obvious constraints a capable agent would otherwise get wrong. Not a README restatement.
  • Failure-mode preventions — leave empty with its format note; entries arrive later via failure-mode-capture.
  • References — point {{BUNDLE_REF}} at where the bundle was installed (./.claude for Claude Code, the bundle's AGENTS.md/rules otherwise), {{PROJECT_DOCS}} at the repo's own docs.

If an AGENTS.md already exists, enhance, don't overwrite: preserve its content, slot existing project rules into the right sections, and call out what was added. Honor the boundary — move anything that is really area-detail into a compass file (step 3) and anything host-specific toward memory.

Keep it under the ~120-line target. If recon produced more than fits, that is signal the excess belongs in compass files, not AGENTS.md.

Read the full file on GitHub · 78 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. 3mo ago First seen · 78 lines · 27 tokens per session scan A e4b03d9c7f92

Subscribe to this mod's changes

project-init is a command published in the GitHub repository sjarmak/coding-agent-workflows (7 stars, last pushed 2d ago), licensed MIT. It adds 27 tokens to every session and 864 once invoked, about $0.0001 per session on Opus 5.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.

Related

project-init compared with commands from other repositories

project-init next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
project-initsjarmak/coding-agent-workflowsCommand72d agoMITA27Claude Code
plugin-updatedeepfusionlabs/deep-initCommand62mo agoMITA37Claude Code
checkdeepfusionlabs/deep-initCommand62mo agoMITA36Claude Code
doctordeepfusionlabs/deep-initCommand62mo agoMITA39Claude Code
versiondeepfusionlabs/deep-initCommand62mo agoMITA37Claude Code
helpdeepfusionlabs/deep-initCommand62mo agoMITA24Claude Code
translatedeepfusionlabs/deep-initCommand62mo agoMITA35Claude Code