Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计通过

agent-init-deepAgent 初始化深度

Agent Skill

agent-init-deep 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

624

周安装

25

GitHub Stars

13

下载量

202
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:agent-init-deep(Agent 初始化深度)
来源仓库:https://github.com/ravnhq/ai-toolkit
仓库路径:skills/agent-init-deep
安装命令:
npx skills add https://github.com/ravnhq/ai-toolkit --skill agent-init-deep
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/ravnhq/ai-toolkit --skill agent-init-deep

简介

Agent 初始化深度技能用于设置或迁移到渐进披露 CLAUDE.md 结构,提升文档组织效率。

  • 适用于需要根级静态文档和主题特定指导的分层文档管理系统。
  • 通过 GitHub 安装并使用 npx skills add 命令加载,需结合原始 README 核验具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 注意该技能涉及 docs/agents/ 目录结构和链接机制,需确保路径正确。

SKILL.md

Init Deep — Progressive Disclosure CLAUDE.md

Set up or migrate to a progressive disclosure CLAUDE.md structure using docs/agents/ for topic-specific guidance.

Context Model

Static (root CLAUDE.md)      — loaded every conversation, minimal, high-value
Semi-dynamic (docs/agents/)  — linked from root, loaded when the link is followed
Fully dynamic (skills)       — triggered by metadata match, loaded only when invoked

Root CLAUDE.md must be 40-50 lines maximum. Everything else belongs in docs/agents/ or skills.

Target Structure

CLAUDE.md                        # Root: identity, tech stack, key rules, workflow, links
docs/agents/
├── tooling.md                   # e.g. package manager, linting, formatting, hooks
├── commands.md                  # e.g. script execution, build filters, passing args
├── guardrails.md                # e.g. data isolation, secrets, library docs
├── definition-of-done.md       # e.g. coverage, lint, type-check, format requirements
└── [topic].md                   # Additional topic-specific files as needed

Workflow

Step 1: Detect State

Check for:
- CLAUDE.md exists?
- docs/agents/ exists?
- How many lines is CLAUDE.md?

If no CLAUDE.md → Greenfield path If CLAUDE.md exists → Migration path

Step 2a: Greenfield Path

Ask the user:

  1. Project name and one-line description
  2. Tech stack (frontend, backend, database, etc.)
  3. Package manager (pnpm, npm, yarn, bun)
  4. Key guardrails (multi-tenancy, secrets, etc.)
  5. Definition of done (test coverage, lint, types, format)

Then generate:

Root CLAUDE.md with:

  • Project identity (1-2 lines)
  • Tech stack list
  • 3-5 key rules (only things the agent consistently gets wrong)
  • 4-stage workflow: Plan → Execute → Validate → Commit
  • Links to docs/agents/ files with routing signals

docs/agents/ files based on answers. Common files include:

  • tooling.md — package manager rules, linting config, hooks
  • commands.md — how to run scripts, filter by package, pass args
  • guardrails.md — data isolation, secrets, library docs
  • definition-of-done.md — specific thresholds and commands

Adjust filenames and topics to match the project's actual needs.

Step 2b: Migration Path

  1. Read existing CLAUDE.md
  2. Classify each section:

- Root-worthy: identity, tech stack, key rules (3-5 max), workflow - docs/agents/: detailed tooling, commands, guardrails, definition of done - Skill-worthy: complex workflows, procedures, domain expertise

  1. Present proposed split to user: ROOT CLAUDE.md: - Project identity - Tech stack - Key rules: [list] - Workflow (Plan/Execute/Validate/Commit) - Links to docs/agents/ docs/agents/tooling.md: - [extracted sections] docs/agents/commands.md: - [extracted sections]... etc
  2. Ask user to confirm or adjust
  3. Create docs/agents/ files
  4. Rewrite root CLAUDE.md

Step 3: Post-Setup

After creating the structure:

  1. List all created files
  2. Show the root CLAUDE.md
  3. Suggest additional improvements:

- "Consider adding CLAUDE.md files in app subdirectories for app-specific rules" - "Run /agent-add-rule to add new rules to the right location" - "Run /skills to see available skills"

Root CLAUDE.md Template

# Project Context

[One-line project description]

## Tech Stack

- [list technologies]

## Key Rules

- [3-5 rules the agent consistently gets wrong without being told]

## Workflow

Every task follows four stages. Identify which stage you're in and follow its rules.

Plan → Execute → Validate → Commit
↑                               |
└── fix ────────────────────────┘

1. **Plan** — Understand the task, research code, design approach. Be concise; list unresolved questions.
2. **Execute** — Implement changes AND write tests together. No implementation is complete without tests.
3. **Validate** — ALL checks must pass with zero errors before moving on:
   - [list validation commands]
     If ANY check fails → return to Execute, fix, re-validate. Pre-existing errors are NOT exempt.
4. **Commit** — Only after Validate passes completely. Never commit with failing checks.

## Detailed Guidance

When working on tasks involving these topics, read the linked doc:

- Topic (`docs/agents/file.md`) — brief routing signal describing when to read this
- Run `/skills` to see available patterns and workflows

Classification Heuristic

When deciding what stays in root vs moves to docs/agents/:

CriteriaRootdocs/agents/
Agent gets wrong without it?YESSometimes
Applies to every task?YESNO
Under 2 lines?YESAny length
Detailed reference?NOYES
Procedural/workflow?only the 4-stage loopYES (multi-step)

Principles

  • Minimal root: Every line in root costs tokens on every conversation. Include only rules the agent consistently gets wrong without being told.
  • Routing signals: Each link description must tell Claude exactly when to read it. Be specific: "pnpm conventions, ESLint config" not just "tooling".
  • One level deep: All docs link from root. No cross-references between docs/agents/ files.
  • docs/agents/ not docs/: The agents/ subdirectory separates agent instructions from human documentation.

Examples

Positive Trigger

User: "Refactor our bloated CLAUDE.md into progressive disclosure with docs/agents."

Expected behavior: Use agent-init-deep guidance, follow its workflow, and return actionable output.

Non-Trigger

User: "Review this React component for unnecessary re-renders."

Expected behavior: Do not prioritize agent-init-deep; choose a more relevant skill or proceed without it.

Troubleshooting

Skill Does Not Trigger

  • Error: The skill is not selected when expected.
  • Cause: Request wording does not clearly match the description trigger conditions.
  • Solution: Rephrase with explicit domain/task keywords from the description and retry.

Guidance Conflicts With Another Skill

  • Error: Instructions from multiple skills conflict in one task.
  • Cause: Overlapping scope across loaded skills.
  • Solution: State which skill is authoritative for the current step and apply that workflow first.

Output Is Too Generic

  • Error: Result lacks concrete, actionable detail.
  • Cause: Task input omitted context, constraints, or target format.
  • Solution: Add specific constraints (environment, scope, format, success criteria) and rerun.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.5%
按下载量换算70

Claude

28.77%
按下载量换算58

Cursor

18.4%
按下载量换算37

Gemini CLI

9.11%
按下载量换算18

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills