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

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/xyy277/doc77/project-init
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.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.svg" alt="Measured on agentmods" 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. 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 $0.00040 $0.00386
Opus 5 $0.00020 $0.00193
Sonnet 5 $0.00008 $0.00077
Haiku 4.5 $0.00004 $0.00039

Measured 3d ago against content hash 2b2cb8526206, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 3d 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. 3d 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 15d ago), licensed MIT. It adds 40 tokens to every session and 386 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

ingest-l1

L1 analysis loop for the abapwiki knowledge base: for each batch it launches the abap-analyzer sub-agent in parallel, then the adversarial judge abap-deepcheck (separate session), applies only the analyses that pass the fail-closed gate, and commits. Resumes exactly after an interruption. Use this skill to document…

Gixsy95/abap_wiki · 91 tokens

research-l2

Executes Phases 1-3 of the L2 process of the abapwiki knowledge base on a slice: launches the abap-functional-researcher sub-agent (gap discovery + multi-source auto-research: wiki -> raw/docs -> MCP abap-fs on the system read-only -> standard knowledge), ingests gaps and evidence, and generates questionnaires for…

Gixsy95/abap_wiki · 115 tokens

slice-init

Creates an L2 slice in the abapwiki knowledge base: a business process on which to build functional documentation. Writes the manifest (curated anchors + mandatory real owner) and derives the membership from the dependency graph (BFS hop<=2). Use this skill to start the L2 process on a custom domain. Does not promote…

Gixsy95/abap_wiki · 86 tokens

capture-answer

Ingests an expert's answers to an L2 questionnaire in the abapwiki knowledge base: transforms the answers (filled in the interviews/ file or given verbally) into a canonical citable expert-answer (slices/ /inputs/expert-answers/), moves gaps to 'answered' and closes the questions. Use this skill when the owner/expert…

Gixsy95/abap_wiki · 88 tokens

ingest-l0

L0 bootstrap of the abapwiki knowledge base: creates stubs for all custom objects from the TADIR. Use this skill to initialize the repo from scratch or to ingest a new TADIR export. Deterministic operations (no LLM sub-agent), idempotent.

Gixsy95/abap_wiki · 64 tokens

lint-audit

Checks the integrity of the abapwiki knowledge base: parseable YAML frontmatter, no broken wikilinks, resolvable [VERIFIED: path:N-M] citations, non-nested confidence tags, drift between wiki and DB, synchronization between canonical agent contracts and the .claude/agents/ copies. Use this skill periodically or after…

Gixsy95/abap_wiki · 78 tokens