jpskill.com
🛠️ 開発・MCP コミュニティ

auto-claude-cli

Auto-Claude CLIは、自律的なコーディング作業において、仕様の実行、ビルド管理、ステータス確認、CLIコマンド実行などを効率的に行うためのコマンド利用をサポートするSkill。

📜 元の英語説明(参考)

Auto-Claude CLI command reference and usage patterns. Use when running specs, managing builds, checking status, or using CLI commands for autonomous coding tasks.

🇯🇵 日本人クリエイター向け解説

一言でいうと

Auto-Claude CLIは、自律的なコーディング作業において、仕様の実行、ビルド管理、ステータス確認、CLIコマンド実行などを効率的に行うためのコマンド利用をサポートするSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o auto-claude-cli.zip https://jpskill.com/download/9357.zip && unzip -o auto-claude-cli.zip && rm auto-claude-cli.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/9357.zip -OutFile "$d\auto-claude-cli.zip"; Expand-Archive "$d\auto-claude-cli.zip" -DestinationPath $d -Force; ri "$d\auto-claude-cli.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して auto-claude-cli.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → auto-claude-cli フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
1

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

Auto-Claude CLI

Auto-Claude 自律型コーディングフレームワークの完全なコマンドラインインターフェースリファレンスです。

クイックリファレンス

コマンド 目的
python spec_runner.py --interactive スペックをインタラクティブに作成
python spec_runner.py --task "..." 説明からスペックを作成
python run.py --spec 001 自律ビルドを実行
python run.py --list すべてのスペックをリスト表示
python run.py --spec 001 --review 変更をレビュー
python run.py --spec 001 --merge プロジェクトにマージ

セットアップ

すべての CLI コマンドは apps/backend/ から実行します。

cd Auto-Claude/apps/backend

# 仮想環境をアクティブ化
source .venv/bin/activate  # Linux/macOS
# または
.venv\Scripts\activate     # Windows

コアコマンド

スペックの作成

# インタラクティブなスペック作成 (複雑なタスクに推奨)
python spec_runner.py --interactive

# タスクの説明からクイックスペックを作成
python spec_runner.py --task "Add user authentication with OAuth"

# 複雑度レベルを強制
python spec_runner.py --task "Fix button color" --complexity simple
python spec_runner.py --task "Add dark mode" --complexity standard
python spec_runner.py --task "Implement payment system" --complexity complex

# 中断されたスペック作成を継続
python spec_runner.py --continue 001-feature-name

複雑度階層

階層 フェーズ 使用場面
SIMPLE 3 1-2 ファイル、単一サービス、統合なし (UI の修正、テキストの変更)
STANDARD 6-7 3-10 ファイル、1-2 サービス、最小限の統合 (機能、バグ修正)
COMPLEX 8 10+ ファイル、複数のサービス、外部統合

ビルドの実行

# すべてのスペックとそのステータスをリスト表示
python run.py --list

# 特定のスペックを実行 (番号またはフルネームで指定)
python run.py --spec 001
python run.py --spec 001-feature-name

# テストのためにイテレーションを制限
python run.py --spec 001 --max-iterations 5

# 自動 QA をスキップ
python run.py --spec 001 --skip-qa

QA バリデーション

# QA バリデーションを手動で実行
python run.py --spec 001 --qa

# QA ステータスを確認
python run.py --spec 001 --qa-status

QA ループ:

  1. QA Reviewer が受け入れ基準を確認
  2. 問題が見つかった場合 → QA_FIX_REQUEST.md を作成
  3. QA Fixer が修正を適用
  4. 承認されるまでループを繰り返す (最大 50 イテレーション)

ワークスペース管理

# 分離されたワークスペースで機能をテスト
cd .worktrees/auto-claude/{spec-name}/
npm run dev  # またはプロジェクトの実行コマンド

# 管理コマンドのためにバックエンドに戻る
cd apps/backend

# 何が変更されたかを確認
python run.py --spec 001 --review

# 変更をプロジェクトにマージ
python run.py --spec 001 --merge

# 気に入らなければ破棄
python run.py --spec 001 --discard

スペックのバリデーション

# すべてのチェックポイントに対してスペックをバリデート
python validate_spec.py --spec-dir specs/001-feature --checkpoint all

# 特定のチェックポイントをバリデート
python validate_spec.py --spec-dir specs/001-feature --checkpoint requirements

インタラクティブコントロール

ビルド中

# 一時停止して指示を追加 (一度押す)
Ctrl+C

# すぐに終了 (二度押す)
Ctrl+C Ctrl+C

ファイルベースのコントロール

# 現在のセッション後に一時停止
touch specs/001-name/PAUSE

# 人間の指示を追加
echo "Focus on fixing the login bug first" > specs/001-name/HUMAN_INPUT.md

# 一時停止を削除して続行
rm specs/001-name/PAUSE

環境変数

変数 必須 デフォルト 説明
CLAUDE_CODE_OAUTH_TOKEN Yes - claude setup-token からの OAuth トークン
AUTO_BUILD_MODEL No claude-opus-4-5-20251101 モデルのオーバーライド
DEFAULT_BRANCH No auto-detect ワークツリーのベースブランチ
DEBUG No false デバッグログを有効化
DEBUG_LEVEL No 1 デバッグの冗長性 (1-3)
GRAPHITI_ENABLED No true メモリシステムを有効化
LINEAR_API_KEY No - Linear 統合

コマンドオプション

spec_runner.py

オプション 説明
--interactive インタラクティブなスペック作成モード
--task "..." タスクの説明からスペックを作成
--complexity LEVEL 複雑度を強制 (simple/standard/complex)
--continue SPEC 中断されたスペック作成を継続

run.py

オプション 説明
--spec SPEC 特定のスペックを実行または管理
--list ステータス付きですべてのスペックをリスト表示
--review ワークツリーの変更を表示
--merge 変更をプロジェクトにマージ
--discard ビルドを削除 (確認付き)
--qa QA バリデーションを実行
--qa-status QA ステータスを確認
--skip-qa 自動 QA をスキップ
--max-iterations N ビルドのイテレーションを制限

ワークフローの例

完全な機能開発

# 1. スペックを作成
python spec_runner.py --task "Add user profile page with avatar upload"

# 2. ビルドを実行 (最新のスペックを自動的に検索)
python run.py --spec 001

# 3. 分離されたワークスペースで変更をレビュー
python run.py --spec 001 --review

# 4. ワークツリーでテスト
cd .worktrees/auto-claude/001-user-profile/
npm run dev

# 5. プロジェクトにマージ
cd ../../../apps/backend
python run.py --spec 001 --merge

クイックバグ修正

# 最小限のフェーズで単純な修正
python spec_runner.py --task "Fix login button alignment" --complexity simple

# 実行してマージ
python run.py --spec 002
python run.py --spec 002 --merge

バッチ処理

# 複数のスペックを作成
python spec_runner.py --task "Add search functionality"
python spec_runner.py --task "Add filters to search"
python spec_runner.py --task "Add search history"

# 順番に実行
python run.py --spec 001
python run.py --spec 002
python run.py --spec 003

スペックディレクトリ構造

各スペックは .auto-claude/specs/XXX-name/ にディレクトリを作成します。

001-feature-name/
├── spec.md                    # 機能仕様
├── requirements.json          # 構造化された要件
├── context.json               # 発見されたコード
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

Auto-Claude CLI

Complete command-line interface reference for Auto-Claude autonomous coding framework.

Quick Reference

Command Purpose
python spec_runner.py --interactive Create spec interactively
python spec_runner.py --task "..." Create spec from description
python run.py --spec 001 Run autonomous build
python run.py --list List all specs
python run.py --spec 001 --review Review changes
python run.py --spec 001 --merge Merge to project

Setup

All CLI commands run from apps/backend/:

cd Auto-Claude/apps/backend

# Activate virtual environment
source .venv/bin/activate  # Linux/macOS
# OR
.venv\Scripts\activate     # Windows

Core Commands

Creating Specs

# Interactive spec creation (recommended for complex tasks)
python spec_runner.py --interactive

# Quick spec from task description
python spec_runner.py --task "Add user authentication with OAuth"

# Force complexity level
python spec_runner.py --task "Fix button color" --complexity simple
python spec_runner.py --task "Add dark mode" --complexity standard
python spec_runner.py --task "Implement payment system" --complexity complex

# Continue an interrupted spec creation
python spec_runner.py --continue 001-feature-name

Complexity Tiers

Tier Phases When Used
SIMPLE 3 1-2 files, single service, no integrations (UI fixes, text changes)
STANDARD 6-7 3-10 files, 1-2 services, minimal integrations (features, bug fixes)
COMPLEX 8 10+ files, multiple services, external integrations

Running Builds

# List all specs and their status
python run.py --list

# Run a specific spec (by number or full name)
python run.py --spec 001
python run.py --spec 001-feature-name

# Limit iterations for testing
python run.py --spec 001 --max-iterations 5

# Skip automatic QA
python run.py --spec 001 --skip-qa

QA Validation

# Run QA validation manually
python run.py --spec 001 --qa

# Check QA status
python run.py --spec 001 --qa-status

The QA loop:

  1. QA Reviewer checks acceptance criteria
  2. If issues found → creates QA_FIX_REQUEST.md
  3. QA Fixer applies fixes
  4. Loop repeats until approved (up to 50 iterations)

Workspace Management

# Test the feature in isolated workspace
cd .worktrees/auto-claude/{spec-name}/
npm run dev  # or your project's run command

# Return to backend for management commands
cd apps/backend

# See what was changed
python run.py --spec 001 --review

# Merge changes into your project
python run.py --spec 001 --merge

# Discard if you don't like it
python run.py --spec 001 --discard

Spec Validation

# Validate a spec against all checkpoints
python validate_spec.py --spec-dir specs/001-feature --checkpoint all

# Validate specific checkpoint
python validate_spec.py --spec-dir specs/001-feature --checkpoint requirements

Interactive Controls

During Build

# Pause and add instructions (press once)
Ctrl+C

# Exit immediately (press twice)
Ctrl+C Ctrl+C

File-Based Control

# Pause after current session
touch specs/001-name/PAUSE

# Add human instructions
echo "Focus on fixing the login bug first" > specs/001-name/HUMAN_INPUT.md

# Remove pause to continue
rm specs/001-name/PAUSE

Environment Variables

Variable Required Default Description
CLAUDE_CODE_OAUTH_TOKEN Yes - OAuth token from claude setup-token
AUTO_BUILD_MODEL No claude-opus-4-5-20251101 Model override
DEFAULT_BRANCH No auto-detect Base branch for worktrees
DEBUG No false Enable debug logging
DEBUG_LEVEL No 1 Debug verbosity (1-3)
GRAPHITI_ENABLED No true Enable memory system
LINEAR_API_KEY No - Linear integration

Command Options

spec_runner.py

Option Description
--interactive Interactive spec creation mode
--task "..." Create spec from task description
--complexity LEVEL Force complexity (simple/standard/complex)
--continue SPEC Continue interrupted spec creation

run.py

Option Description
--spec SPEC Run or manage specific spec
--list List all specs with status
--review Show changes in worktree
--merge Merge changes to project
--discard Delete build (with confirmation)
--qa Run QA validation
--qa-status Check QA status
--skip-qa Skip automatic QA
--max-iterations N Limit build iterations

Workflow Examples

Complete Feature Development

# 1. Create spec
python spec_runner.py --task "Add user profile page with avatar upload"

# 2. Run build (finds latest spec automatically)
python run.py --spec 001

# 3. Review changes in isolated workspace
python run.py --spec 001 --review

# 4. Test in worktree
cd .worktrees/auto-claude/001-user-profile/
npm run dev

# 5. Merge to project
cd ../../../apps/backend
python run.py --spec 001 --merge

Quick Bug Fix

# Simple fix with minimal phases
python spec_runner.py --task "Fix login button alignment" --complexity simple

# Run and merge
python run.py --spec 002
python run.py --spec 002 --merge

Batch Processing

# Create multiple specs
python spec_runner.py --task "Add search functionality"
python spec_runner.py --task "Add filters to search"
python spec_runner.py --task "Add search history"

# Run them in sequence
python run.py --spec 001
python run.py --spec 002
python run.py --spec 003

Spec Directory Structure

Each spec creates a directory in .auto-claude/specs/XXX-name/:

001-feature-name/
├── spec.md                    # Feature specification
├── requirements.json          # Structured requirements
├── context.json               # Discovered codebase context
├── implementation_plan.json   # Subtask-based plan
├── qa_report.md              # QA validation results
├── QA_FIX_REQUEST.md         # Issues to fix (if rejected)
├── PAUSE                      # Pause file (if present)
└── HUMAN_INPUT.md            # Human instructions

Tips for Effective Use

Writing Good Task Descriptions

# Good: Specific and actionable
python spec_runner.py --task "Add user authentication with Google OAuth, including login button on header and protected routes for /dashboard/*"

# Bad: Vague
python spec_runner.py --task "Add login"

Choosing Complexity

  • Simple: Single file changes, UI tweaks, text updates
  • Standard: Most features, bug fixes, component additions
  • Complex: Multi-service changes, external integrations, architectural changes

Debugging Failed Builds

# Enable verbose logging
DEBUG=true DEBUG_LEVEL=3 python run.py --spec 001

# Check spec status
python run.py --list

# Review QA report
cat .auto-claude/specs/001-feature/qa_report.md

Related Skills

  • auto-claude-spec: Detailed spec creation workflow
  • auto-claude-build: Build process deep dive
  • auto-claude-workspace: Workspace management
  • auto-claude-troubleshooting: Debugging issues