Borrowing it
Nothing to install: this file belongs to ai-debugger-inc/aidb. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/ai-debugger-inc/aidb/main/.claude/skills/dev-cli-development/SKILL.mdgit clone --depth 1 https://github.com/ai-debugger-inc/aidbWrote 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.
[](https://agentmods.dev/skills/ai-debugger-inc/aidb/dev-cli-development)<a href="https://agentmods.dev/skills/ai-debugger-inc/aidb/dev-cli-development"><img src="https://agentmods.dev/badge/skills/ai-debugger-inc/aidb/dev-cli-development/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.
<a href="https://agentmods.dev/skills/ai-debugger-inc/aidb/dev-cli-development"><img src="https://agentmods.dev/badge/skills/ai-debugger-inc/aidb/dev-cli-development.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00071 | $0.03664 |
| Opus 5.5 | $0.00028 | $0.01466 |
| Sonnet 5.5 | $0.00014 | $0.00733 |
| Haiku 4.5 | $0.00007 | $0.00366 |
Grade A, and why
dev-cli-development scanned grade A with 1 finding 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 2mo 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.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
**Wrong**: `subprocess.run(["cmd"])` How it starts
The opening of the file, as written. The whole thing — 513 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Dev-CLI Development Guide
Purpose
The AIDB dev-cli (src/aidb_cli/) is a Click-based command-line interface for AIDB development workflows. This skill guides developers in:
- Adding new CLI commands and command groups
- Creating reusable services following BaseService pattern
- Using custom decorators (@handle_exceptions, @require_repo_context)
- Integrating with Docker, test, and adapter systems
- Following Click framework best practices
- Proper error handling and output formatting
When to Use This Skill
Auto-activates when:
- Editing files in
src/aidb_cli/ - Mentioning "dev-cli", "CLI command", "Click", "CliOutput"
- Adding commands, services, or CLI utilities
- Working with test orchestration or Docker integration
Related Skills
When developing CLI commands, you may also need:
- testing-strategy - CLI orchestrates test execution via test coordinator service
- code-reuse-enforcement - CLI must use existing constants and avoid magic strings
Architecture Overview
For comprehensive architecture details, see docs/developer-guide/cli-reference.md and source code in src/aidb_cli/.
Component Structure
src/aidb_cli/
├── commands/ # CLI command definitions (13 modules)
├── services/ # Business logic services (41+ files)
├── managers/ # High-level orchestration (singleton pattern)
├── core/ # Decorators, utilities, constants, param types
└── generators/ # Code generation for test scenarios
Key Patterns
- Commands - Thin wrappers that delegate to services
- Services - Reusable business logic with CommandExecutor
- Managers - Singleton orchestrators for complex workflows
- Context Injection - Dependencies via Click's
ctx.obj - Unified Error Handling -
@handle_exceptionsdecorator - Dynamic Parameter Types - Custom types with shell completion
Quick Start: Adding a Command
Step 1: Create Command File
Create src/aidb_cli/commands/mycommand.py:
What ships with it
6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 2mo ago First seen · 513 lines · 71 tokens per session scan A 16e6a845a23e
dev-cli-development is a skill published in the GitHub repository ai-debugger-inc/aidb (21 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 71 tokens to every session and 3,664 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
dev-cli-development compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| dev-cli-developmentai-debugger-inc/aidb | Skill | 21 | 5mo ago | Apache-2.0 | A | 71 | Claude Code |
| skill-creatorunslothai/unsloth | Skill | 79k | yesterday | Apache-2.0 | A | 26 | Claude Code |
| image-promptingunslothai/unsloth | Skill | 79k | yesterday | Apache-2.0 | A | 23 | Claude Code |
| create-researchhumanlayer/humanlayer | Skill | 13k | yesterday | Apache-2.0 | A | 16 | Claude Code, Codex |
| create-tech-designhumanlayer/humanlayer | Skill | 13k | yesterday | Apache-2.0 | A | 16 | Claude Code, Codex |
| iterate-tech-designhumanlayer/humanlayer | Skill | 13k | yesterday | Apache-2.0 | A | 16 | Claude Code, Codex |
| create-prdhumanlayer/humanlayer | Skill | 13k | yesterday | Apache-2.0 | A | 16 | Claude Code, Codex |