一键导入
pack-context
Packs and compresses the codebase into an AI-friendly context file. Best for new features, code reviews, or full codebase context with minimal tokens.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Packs and compresses the codebase into an AI-friendly context file. Best for new features, code reviews, or full codebase context with minimal tokens.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when starting any conversation - establishes how to find and use codebase-pilot skills, requiring Skill tool invocation before ANY response including clarifying questions
Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
Use when creating new skills, editing existing skills, or verifying skills work before deployment
Use when implementing any feature or bugfix, before writing implementation code
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
| name | pack-context |
| description | Packs and compresses the codebase into an AI-friendly context file. Best for new features, code reviews, or full codebase context with minimal tokens. |
Pack the current codebase into a compressed, AI-friendly format. Saves 60-90% tokens.
codebase-pilot pack --compress
codebase-pilot pack --compress --affected
codebase-pilot pack --compress --prune <target-file>
codebase-pilot pack --compress --dry-run
codebase-pilot pack --compress --agent <agent-name>
--affected to see what changed--prune for minimum context--format md--copy--affected uses SHA-256 hashing — first run indexes everything, subsequent runs are incremental--prune traverses the import graph bidirectionally (imports + dependents)--dry-run shows top 10 files by token count