project-init

project-init is a skill for Claude Code, Codex from xyy277/doc77. It costs 40 tokens per session (386 once invoked), scanned A, original, MIT.

A project-initialization skill that creates a standard starting structure for documentation or software projects. It can add files such as README.md, source, documentation, tests, and project rules.

In plain words
What is it for?
Use it to detect a project type, create absent directories, generate a README template, and add default coding and documentation rules after confirmation.
Why use it?
It provides missing setup files and folders without replacing existing files or changing the current structure.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to detect a project type, create absent directories, generate a README template, and add default coding and documentation rules after confirmation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xyy277/doc77/project-init
View source ↗ xyy277/doc77
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.

Any agent
npx skills add xyy277/doc77 --skill project-init
Clone the repo
git clone --depth 1 https://github.com/xyy277/doc77

Made for: Claude Code, Codex.

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/skills/xyy277/doc77/project-init/github.svg)](https://agentmods.dev/skills/xyy277/doc77/project-init)
Your own site
<a href="https://agentmods.dev/skills/xyy277/doc77/project-init"><img src="https://agentmods.dev/badge/skills/xyy277/doc77/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/skills/xyy277/doc77/project-init"><img src="https://agentmods.dev/badge/skills/xyy277/doc77/project-init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 386 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.00040 $0.00386
Opus 5.5 $0.00016 $0.00154
Sonnet 5.5 $0.00008 $0.00077
Haiku 4.5 $0.00004 $0.00039

Measured 1mo ago against content hash 2b2cb8526206, 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 1mo 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.

packages/ai/src/skills/builtin/skills/project-init/SKILL.md · 67 lines

What it actually says

项目初始化技能

标准目录结构

根据项目类型创建以下结构:

文档项目

project-root/
├── README.md           # 项目说明
├── docs/               # 文档目录
│   ├── guide/          # 使用指南
│   ├── api/            # API 文档
│   └── changelog/      # 更新日志
├── .doc77/
│   └── rules/          # 项目规则
└── templates/          # 文档模板

代码项目

project-root/
├── README.md
├── docs/
├── src/
├── tests/
├── .doc77/
│   └── rules/
└── package.json / Cargo.toml / pyproject.toml

初始化步骤

  1. 检测项目类型(通过已有文件判断)
  2. 创建缺失的标准目录
  3. 生成 README.md 模板(项目名、简介、安装、使用)
  4. 创建 .doc77/rules/ 目录
  5. 生成默认规则文件(编码风格、文档规范)

README 模板

# 项目名称

简要描述项目用途。

## 安装

## 使用方法

## 配置

## 贡献指南

## 许可证

注意事项

  • 不覆盖已存在的文件
  • 保持现有目录结构不变,仅添加缺失部分
  • 询问用户确认后再执行写入操作
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. 1mo ago First seen · 67 lines · 40 tokens per session scan A 2b2cb8526206

Subscribe to this mod's changes

project-init is a skill published in the GitHub repository xyy277/doc77 (8 stars, last pushed 10d ago), licensed MIT. It adds 40 tokens to every session and 386 once invoked, about $0.0002 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

Other skills, from other repositories

llmwiki

Build and use a persistent, citation-traceable knowledge wiki from documents, research papers, notes, or project documentation. Use for llmwiki projects, retrieving reusable evidence for an agent task, or compiling a corpus for repeated questions. A one-off file read or live web search does not need a wiki.

atomicstrata/llm-wiki-compiler · 66 tokens

gwm

Manage git worktrees across any repository with the gwm Rust binary (CLI + ratatui TUI). Use when the user asks to create / list / remove / bootstrap / switch / link worktrees, run a command across worktrees (gwm exec) or reclaim build artifacts (gwm clean), materialise a PR into a worktree (gwm review), drive a…

kbrdn1/gwm-cli · 0 tokens

handoff

Hand work to another tool, account or machine and pick it up there, in two words. Use when the user says "hand off", "hand off all", "out of tokens", "switching accounts", "pick up" or "continue".

anton-abyzov/specweave · 51 tokens

sw-do

Work a SpecWeave increment task by task - claim, implement inside its Files, test, commit, done with evidence - alone, unattended or in lanes, then close. Use for "implement", "continue", "auto".

anton-abyzov/specweave · 46 tokens

review

Adversarial review of an increment before it ships, by a fresh context or another model family; every finding cites path:line and is re-verified. Use for "review", "qa", "critique this".

anton-abyzov/specweave · 45 tokens

glossary

Build the shared language - interview the user term by term and write GLOSSARY.md with what each term means in the business, the data, the code and the UI. Use for "glossary", "ubiquitous language".

anton-abyzov/specweave · 49 tokens