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 skills/kangig94/coral/init-projectnpx skills add kangig94/coral --skill init-projectgit clone --depth 1 https://github.com/kangig94/coralWrote 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.
[](https://agentmods.dev/skills/kangig94/coral/init-project)<a href="https://agentmods.dev/skills/kangig94/coral/init-project"><img src="https://agentmods.dev/badge/skills/kangig94/coral/init-project.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00017 | $0.06651 |
| Opus 5 | $0.00009 | $0.03325 |
| Sonnet 5 | $0.00003 | $0.01330 |
| Haiku 4.5 | $0.00002 | $0.00665 |
Grade C, and why
init-project scanned grade C with 1 finding 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 2d 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
rm -rf "$STAGING" && mkdir -p "$STAGING" How it starts
The opening of the file, as written. The whole thing — 448 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Project Initialization
Responsible for: project analysis, domain identification, writing the plan, running the review loop, generating artifacts (following ralph protocol directly), and final reporting. Not responsible for: reviewing the plan (architect/critic do that).
Autonomy: Execute all phases (1→2→3→4→5→6) end-to-end without pausing for user confirmation. Evidence gates are self-checks, not user approval points. Do not ask "shall I continue?" between phases. <Execution_Discipline> Work conventions that guard failure modes which recur in this protocol. They bind across all phases — treat each as a precondition, not advice. Governing principle: setup work is verified to the same bar as feature code — confirm against the authoritative source (the templates), never declare "sufficient" from memory or a partial scan.
-
Full-tree discovery before any "missing" conclusion. Never decide a template or reference is absent from a depth-limited or filtered listing. Run
find {skill_base_dir}/templates -type f(no-maxdepth, nogreppre-filter) once and treat that inventory as authoritative. The "template not found" fallback may fire only after a full listing confirms absence. -
Fixed artifacts are copied, never authored from memory. Every artifact the protocol calls fixed —
templates/skills/tier-review/SKILL.md,templates/agents/{code,doc,test,ux}-critic.md— is produced by: read the template file → copy it → graft only project-specific hooks. Do not reconstruct it from another repo's output or recollection; you will drop required sections. -
Read every template in full; obey directives in its body. Templates contain instructions, not only
{placeholders}(e.g. tier-review's "add coral:architect to the list with tier 1 by default"). Read the whole file before instantiating and treat its imperative sentences as requirements. -
Diff-against-template is part of Phase 4. Verification asserts each generated fixed artifact contains every section and directive its template has — a structural diff, not a frontmatter-key existence check. "name: present" does not catch a dropped section.
-
Enumerate concerns before writing agents; one agent per concern; justify omissions. In the Tier-2 fallback, first produce an explicit
concern → severity → agenttable for the domain. Give each distinct failure mode its own agent — do not bundle several into one guardian — and record inagents.mdwhy any plausible agent was deliberately NOT created (covered-by-X), so the roster is a justified decision, not an accident. -
Tier discipline is explicit. Tier-1/2 safety guardians are binary gates (PASS / NEEDS WORK on BLOCKING findings, no rubric); Tier-3 quality agents are rubric-scored. A guardian without a score and a critic with one are both correct — do not "fix" either toward the other. </Execution_Discipline>
Phase 1: Gather Context
1a. Detect Scenario
Check the working directory for source files:
Existing project indicators (any of these):
package.json,pyproject.toml,Cargo.toml,go.mod,pom.xml,build.gradlesrc/,lib/,app/,csrc/,cmd/Makefile,CMakeLists.txt,DockerfileREADME.mdwith project description
New project: Working directory is empty or has only basic scaffolding (e.g., .git/ only).
If ambiguous, treat as existing (safer).
1b. Extract Context
Parse the command argument for:
| Field | Examples |
|---|---|
| Project description | "a CLI tool for...", "REST API that..." |
| Tech stack | "React + FastAPI", "Rust", "Next.js" |
| Architectural concerns | "must be serverless", "multi-tenant" |
| Reference material | "ref/codes", "github.com/...", "docs/spec.md" |
What ships with it
22 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/backend.md 13 KB
- references/data.md 4.0 KB
- references/frontend.md 7.8 KB
- references/gpu.md 5.4 KB
- references/infra.md 4.6 KB
- references/merge-policy.md 3.7 KB
- references/ml-ai.md 5.7 KB
- references/mobile.md 4.8 KB
- references/plugin-extension.md 5.3 KB
- references/systems.md 4.6 KB
- references/writing-guide.md 11 KB
- templates/agents/AGENT.md.template 2.8 KB
- templates/agents/code-critic.md 7.8 KB
- templates/agents/doc-critic.md 6.7 KB
- templates/agents/test-critic.md 16 KB
- templates/agents/ux-critic.md 9.1 KB
- templates/CLAUDE.md.template 1.5 KB
- templates/rules/agents.md.template 2.0 KB
- templates/rules/conventions.md.template 3.0 KB
- templates/rules/design-philosophy.md.template 1.5 KB
- templates/rules/validation.md.template 303 B
- templates/skills/tier-review/SKILL.md 4.4 KB
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.
- 2d ago Changed · +58 lines d8cf9a53a517
- 6d ago First seen · 390 lines · 17 tokens per session scan C 446b3c407d65
init-project is a skill published in the GitHub repository kangig94/coral (11 stars, last pushed 3d ago), licensed MIT. It adds 17 tokens to every session and 6,651 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
deployment
This skill should be used when shipping an app to production — setting up CI/CD, deploys, preview environments, error monitoring, environment separation, or rollback. Trigger phrases include "deploy this", "set up CI/CD", "GitHub Actions", "add error tracking", "set up Sentry", "monitor production", "staging…
api-design
This skill should be used when designing or building an API — endpoints, routes, request/response shapes, error formats, pagination, versioning, or deciding REST vs GraphQL. Trigger phrases include "design the API", "build an endpoint", "REST or GraphQL", "how should I structure my routes", "API error format"…
architecture-primer
This skill should be used when the user wants to design, plan, or decide the architecture of a system, app, or platform from scratch. Trigger phrases include "how do I structure this", "what architecture should I use", "how does this scale", "monolith or microservices", "what database", "what stack", "design the…
saas-router
This skill should be used FIRST whenever the user wants to create, build, design, ship, or prototype any digital product — a SaaS, web app, platform, MVP, landing page, sales page, dashboard, admin panel, backoffice, internal tool, API, database, auth, payments, or any user interface. Trigger phrases (English) include…
data-modeling
This skill should be used when designing a database schema, modeling data, choosing a database, planning migrations, or setting up multi-tenancy for a SaaS. Trigger phrases include "design the database", "model this data", "what database should I use", "schema for", "multi-tenant", "tenant isolation", "add an index"…
secure-coding
This skill should be used while WRITING any backend, API, auth, or data-handling code for a web app or SaaS — to prevent vulnerabilities before they ship, not to audit them after. Trigger phrases include "add an endpoint", "handle user input", "store user data", "is this secure", "build the API", "save to the…