Loading...
Loading...
Performs semantic code intelligence and token optimization through context engineering and automated context packing. Use when reducing token overhead for large codebases, creating repository digests with Gitingest, packaging code context with Repomix, or tracing cross-file dependencies with llm-tldr.
npx skill4agent add oakoss/agent-skills codebase-packager| Pattern | Tool / Command | Key Points |
|---|---|---|
| Context packing | | Package subdirectories into AI-optimized bundles |
| Signatures only | | Compression extracts signatures via Tree-sitter |
| Repository digest | | Prompt-friendly summary for quick onboarding |
| Dependency context | | LLM-ready context for a function with 95% token saving |
| Caller tracing | | Reverse call graph to assess change blast radius |
| Forward call graph | | Build forward call graph across the project |
| Semantic search | | Find logic by meaning when naming is inconsistent |
| Architecture audit | | Detect circular deps, layer violations, dead code |
| Dead code finder | | Find unreachable functions with zero callers |
| File extraction | | Extract AST (functions, classes, imports) from a file |
| Secret scanning | Repomix built-in secretlint | Ensure context bundles contain no keys or PII |
| Mistake | Correct Pattern |
|---|---|
| Reading entire large files without checking structure first | Run |
Using | Use |
Packing | Configure Repomix ignore-list to exclude generated and vendor directories |
| Assuming semantic search results are exhaustive | Verify top matches against actual source and cross-reference with |
| Running Repomix without compression on large directories | Use |
| Including irrelevant context that dilutes signal quality | Follow top-down priority: index, signatures, core logic, then adjacent context |
ExploreTaskPlan