aidb: Skill for Claude Code

.claude/skills/dev-cli-development/SKILL.md

dev-cli-development is a skill for Claude Code from ai-debugger-inc/aidb. It costs 71 tokens per session (3,664 once invoked), scanned A, original, Apache-2.0.

A development guide for AIDB's dev-cli, a command-line program for running project development workflows. It covers commands, services, error handling, Docker integration, and Click, the Python library used to build the command-line interface.

In plain words
What is it for?
Use it when adding or changing dev-cli commands and services, working in src/aidb_cli/, integrating test or Docker workflows, or handling command output and errors.
Why use it?
It helps developers add commands that follow the project's existing structure and handle failures consistently. It also explains how the CLI connects to testing and Docker services.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

This is ai-debugger-inc/aidb's own configuration. It tells Claude Code how to work on aidb itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything aidb configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/ai-debugger-inc/aidb/main/.claude/skills/dev-cli-development/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ai-debugger-inc/aidb

Made for: Claude Code.

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 dev-cli-development

README.md
[![agentmods](https://agentmods.dev/badge/skills/ai-debugger-inc/aidb/dev-cli-development/github.svg)](https://agentmods.dev/skills/ai-debugger-inc/aidb/dev-cli-development)
Your own site
<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.

agentmods 80×15 button for dev-cli-development

Your own site · 80×15
<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>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,664 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.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

Measured 2mo ago against content hash 16e6a845a23e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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"])`
.claude/skills/dev-cli-development/SKILL.md · 513 lines

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

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

  1. Commands - Thin wrappers that delegate to services
  2. Services - Reusable business logic with CommandExecutor
  3. Managers - Singleton orchestrators for complex workflows
  4. Context Injection - Dependencies via Click's ctx.obj
  5. Unified Error Handling - @handle_exceptions decorator
  6. 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:

Read the full file on GitHub · 513 lines

Files

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.

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. 2mo ago First seen · 513 lines · 71 tokens per session scan A 16e6a845a23e

Subscribe to this mod's changes

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.

Related

dev-cli-development compared with skills from other repositories

dev-cli-development next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dev-cli-developmentai-debugger-inc/aidbSkill215mo agoApache-2.0A71Claude Code
skill-creatorunslothai/unslothSkill79kyesterdayApache-2.0A26Claude Code
image-promptingunslothai/unslothSkill79kyesterdayApache-2.0A23Claude Code
create-researchhumanlayer/humanlayerSkill13kyesterdayApache-2.0A16Claude Code, Codex
create-tech-designhumanlayer/humanlayerSkill13kyesterdayApache-2.0A16Claude Code, Codex
iterate-tech-designhumanlayer/humanlayerSkill13kyesterdayApache-2.0A16Claude Code, Codex
create-prdhumanlayer/humanlayerSkill13kyesterdayApache-2.0A16Claude Code, Codex