init-project

init-project is a skill for Claude Code from kangig94/coral. It costs 17 tokens per session (6,651 once invoked), scanned C, original, MIT.

A procedure for preparing a new or existing software project for development supported by AI.

In plain words
What is it for?
Use it to inspect a project, identify its domain, create a plan, run review steps, and produce setup documents and other project artifacts.
Why use it?
It organizes project analysis, planning, review, and setup so development starts with a documented understanding of the project.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

Part of the coral plugin — 12 skills, 10 agents shipped together

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 skills/kangig94/coral/init-project
Any agent
npx skills add kangig94/coral --skill init-project
Clone the repo
git clone --depth 1 https://github.com/kangig94/coral

Made for: Claude Code.

Or install coral, the plugin that ships this one along with the rest of its 12 skills, 10 agents.

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 init-project

README.md
[![agentmods](https://agentmods.dev/badge/skills/kangig94/coral/init-project.svg)](https://agentmods.dev/skills/kangig94/coral/init-project)
Your own site
<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>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,651 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.1 $0.00017 $0.06651
Opus 5 $0.00009 $0.03325
Sonnet 5 $0.00003 $0.01330
Haiku 4.5 $0.00002 $0.00665

Measured 2d ago against content hash d8cf9a53a517, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

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"
clients/skills/init-project/SKILL.md · 448 lines

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.

  1. 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, no grep pre-filter) once and treat that inventory as authoritative. The "template not found" fallback may fire only after a full listing confirms absence.

  2. 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.

  3. 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.

  4. 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.

  5. Enumerate concerns before writing agents; one agent per concern; justify omissions. In the Tier-2 fallback, first produce an explicit concern → severity → agent table for the domain. Give each distinct failure mode its own agent — do not bundle several into one guardian — and record in agents.md why any plausible agent was deliberately NOT created (covered-by-X), so the roster is a justified decision, not an accident.

  6. 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.gradle
  • src/, lib/, app/, csrc/, cmd/
  • Makefile, CMakeLists.txt, Dockerfile
  • README.md with 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"

Read the full file on GitHub · 448 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. 2d ago Changed · +58 lines d8cf9a53a517
  2. 6d ago First seen · 390 lines · 17 tokens per session scan C 446b3c407d65

Subscribe to this mod's changes

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.

Related

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…

MartinOlivero/saas-builder · 132 tokens

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"…

MartinOlivero/saas-builder · 118 tokens

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…

MartinOlivero/saas-builder · 111 tokens

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…

MartinOlivero/saas-builder · 189 tokens

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"…

MartinOlivero/saas-builder · 120 tokens

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…

MartinOlivero/saas-builder · 128 tokens