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/lookatitude/guild/initgit clone --depth 1 https://github.com/lookatitude/guildWhat 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.00067 | $0.03016 |
| Opus 5 | $0.00034 | $0.01508 |
| Sonnet 5 | $0.00013 | $0.00603 |
| Haiku 4.5 | $0.00007 | $0.00302 |
Grade A, and why
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 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 — 244 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/guild:init — phase: Init
The Init phase entrypoint. Onboards an existing repo or scaffolds
new-product knowledge: builds the wiki and, for a brownfield repo, the
cheap scan tier only — the derived CodebaseMap plus a
confidence-tagged architecture-map.md stub. That pair is Init-DONE. The
deep semantic KnowledgeGraph + onboarding tour are lazy, gated by the
--learn flag or defaults.auto_learn: true config — built via the
learn-* pipeline (same skills as /guild:learn), not produced at Init
by default.
Verb↔phase edge: /guild:init → Init. Phase concept binding:
lifecycle/phase-entrypoints.md · lifecycle/lifecycle-overview.md (one
state machine, six phase entrypoints).
Contract binding
Before any producer work begins, this phase resolves the frozen
guild.phase_entry.v1 contract (review.learning_checkpoint: true).
The Tier-2 defaults: config folded at intake is controlled by
P1-config-001 — see /guild:config for the schema.
Usage
/guild:init
/guild:init --learn
/guild:init --new
All five global flags + --dry-run apply.
Args & local flags
- Args: — (no positional)
- Local flags:
--learn— run the fulllearn-*pipeline now (guild:learn-map/learn-graph/learn-knowledge(cost-gated knowledge tier) /learn-onboard/learn-diff/learn-explain), the same skills/guild:learninvokes. Also triggered automatically whendefaults.auto_learn: trueis set in.guild/settings.json. Folds in the former--deep-scanflag (D3).--new— force the new-product scaffold path.
Gates (default)
- New-product Q&A I
- G-init review A
Note: --learn and defaults.auto_learn: true both run the full learn-*
pipeline without an extra gate (explicitly requested). The former
ask-before-deep-scan interactive gate is removed (D3).
Output artifact
.guild/guild.yaml, .guild/init/<slug>.md, .guild/wiki/**,
.guild/raw/**, .guild/settings.json (the project config surface,
scaffolded fully-documented if absent — see below), and (brownfield, cheap
scan tier = Init-DONE) .guild/indexes/codebase-map.json + confidence-tagged
wiki/concepts/architecture-map.md stub. knowledge-graph.json +
onboarding-tour.md are deferred — lazy, produced only under --learn /
defaults.auto_learn by the learn-* pipeline, never at Init by default.
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 · 244 lines · 67 tokens per session scan A f2b6aa167731
init is a command published in the GitHub repository lookatitude/guild (7 stars, last pushed yesterday), licensed MIT. It adds 67 tokens to every session and 3,016 once invoked, about $0.0003 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.
Other commands, from other repositories
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.
converge
Assess the current codebase against the feature's spec, plan, and tasks, then append any remaining unbuilt work as new tasks to tasks.md so implement can complete it.
implement
Execute the implementation plan by processing and executing all tasks defined in tasks.md.