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.
npx agentmods add commands/initializ/forge/sync-docsgit clone --depth 1 https://github.com/initializ/forgeWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.01533 |
| Opus 5 | $0.00000 | $0.00766 |
| Sonnet 5 | $0.00000 | $0.00307 |
| Haiku 4.5 | $0.00000 | $0.00153 |
Grade A, and why
sync-docs 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.
How it starts
The opening of the file, as written. The whole thing — 75 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Sync Documentation
After feature work, update the affected documentation to reflect code changes.
Steps
-
Identify changed files — Run
git diff main --name-onlyto find modified Go files. -
Map files to docs — Use this mapping to determine which docs need updates. Paths match the actual
docs/tree (nested undercore-concepts/,reference/,security/,deployment/,skills/).Changed path pattern Affected docs forge-core/auth/docs/security/authentication.md,docs/security/audit-logging.mdforge-core/runtime/docs/core-concepts/runtime-engine.md,docs/core-concepts/hooks.mdforge-core/security/docs/security/overview.md,docs/security/egress-control.mdforge-core/tools/docs/core-concepts/tools-and-builtins.mdforge-core/llm/docs/core-concepts/runtime-engine.mdforge-core/memory/docs/core-concepts/memory-system.mdforge-core/scheduler/docs/core-concepts/scheduling.mdforge-core/secrets/docs/security/secret-management.mdforge-core/channels/docs/core-concepts/channels.mdforge-core/validate/docs/reference/forge-yaml-schema.mdforge-cli/cmd/docs/reference/cli-reference.mdforge-cli/runtime/docs/core-concepts/runtime-engine.mdforge-cli/server/docs/core-concepts/how-forge-works.mdforge-cli/runtime/admission_engine.go,forge-cli/runtime/admission_loader.go,forge-cli/server/admission_middleware.go,forge-core/runtime/admission.godocs/security/admission.md(full operator + platform-integrator reference),docs/security/audit-logging.md(task_admission_deniedevent row),docs/core-concepts/observability-tracing.md(admission.checkspan attribute table) — keep wire shape, env var names, fail-open semantic, and HTTP 402 response body all in syncforge-cli/channels/docs/core-concepts/channels.mdforge-cli/tools/docs/core-concepts/tools-and-builtins.mdforge-cli/internal/tui/docs/reference/cli-reference.md(wizard flow)forge-plugins/docs/core-concepts/channels.md,docs/reference/framework-plugins.mdforge-ui/docs/reference/web-dashboard.mdforge-ui/handlers_skill_builder.go,forge-ui/skill_builder_context.go,forge-ui/skill_validator.go,forge-ui/static/app.js(SkillBuilderPage),forge-cli/cmd/ui_skill_save.godocs/reference/web-dashboard.md(§ Skill Builder + § Editing an Attached Skill),docs/skills/writing-custom-skills.md(§ Iterating from the Skill Builder UI) — keep edit-mode endpoints, prompt-trailer behavior, and overwrite-clears-scripts rule in syncforge-skills/docs/skills/writing-custom-skills.md,docs/skills/contributing-a-skill.mdforge-skills/registry/image-registry.yaml,forge-core/packaging/docs/core-concepts/binary-dependencies.md— refresh the registry contents, install methods, or Dockerfile shape sections; keep the source-file list at the bottom in sync with the actual files touchedforge-cli/templates/Dockerfile.tmpl,forge-cli/build/dockerfile_stage.godocs/core-concepts/binary-dependencies.md(image-shape section),docs/deployment/docker.mdforge-core/types//forge.yamldocs/reference/forge-yaml-schema.mdCHANGELOG.md(rendered into release notes; no per-doc sync needed) Any of forge-core/**,forge-cli/**,forge-ui/**,forge-plugins/**,forge-skills/**,docs/**,CHANGELOG.md,forge.yamlschema.claude/skills/forge.md— refresh the affected section(s) of the comprehensive knowledge skill. Sweep the specific section that maps to the changed area; don't rewrite the whole file. Keep the table-of-contents anchors in sync with the section headings.forge-ui/skill_builder_context.go(specifically theskillBuilderSystemPromptconstant).claude/skills/forge-skill-builder.md— re-port verbatim. The body must remain byte-identical to the Go constant apart from un-doing the Go string-concatenation escapes (` + "```" + `→ triple-backticks, etc.). Do not edit either side without updating the other.
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.
- yesterday First seen · 75 lines · 0 tokens per session scan A ac89e86ea598
sync-docs is a command published in the GitHub repository initializ/forge (156 stars, last pushed 4d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,533 tokens. 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-30.
Other commands, from other repositories
04-content-brief
For one priority from contentpriorities.json, generate a content brief with explicit slots for the human expert (founder/domain specialist) to fill with real cases, real data, and real opinions. This is the human-in-loop checkpoint — the moat that prevents the entire workflow from collapsing into "AI writing more…
01-intake
Build the GEO brand context for a client by ingesting provided materials (PDF/DOCX/PPTX/XLSX, URLs, raw notes) and conducting structured AI-perception + competitor + community research. Writes brandcontext.json validated against schemas/brandcontext.schema.json. Use when starting a new client (clients/ /inputs/ has…
02-audit
Run a Claude-native visibility audit. For each query in brandcontext.targetqueries, ask Claude to answer the query as a real user would (using WebSearch + WebFetch), then record whether the client brand is mentioned, at what position, and which URLs were cited. Outputs visibilitybaseline.json validated against schema.…
05-production
Convert an expert-filled brief into a publishable draft. Applies Princeton KDD 2024 GEO techniques (statistics, quotations, citations, authoritative language) to maximize AI citation likelihood. Refuses to run on briefs that haven't been filled by the expert. Outputs drafts/ .md. Use after 04-content-brief produces a…
06-distribution
For a published-ready draft, generate JSON-LD schema markup, internal linking suggestions, third-party distribution targets, and llms.txt block. Outputs distribution/ .json and distribution/ .publish-bundle.md. Use after 05-production; consumed by 07-reaudit (records actions for attribution).
07-reaudit
Re-run 02-audit, diff against the previous baseline, attribute movement to specific content/distribution actions. Outputs reaudit/round-N.json validated against attributiondiff.schema.json. This is the closing-of- loop artifact that proves (or disproves) what's actually working. Run monthly after the previous month's…