MCP HubMCP Hub
SKILL·10E395

checkpoint-mode

asklokesh
更新日 23 days ago
5 閲覧
1,093
206
1,093
GitHubで表示
その他general

について

このスキルは、設定可能なタスク数を完了した後にユーザーレビューのために一時停止することで、選択的自律性を実装します。新規または高コストのプロジェクトにおいてリソースの浪費を防ぎ、軌道修正を可能にするために設計されています。開発者は、作業を一括して自動化しながら、定期的なフィードバックループを通じて監視を維持するために使用すべきです。

クイックインストール

Claude Code

推奨
メイン
npx skills add asklokesh/claudeskill-loki-mode -a claude-code
プラグインコマンド代替
/plugin add https://github.com/asklokesh/claudeskill-loki-mode
Git クローン代替
git clone https://github.com/asklokesh/claudeskill-loki-mode.git ~/.claude/skills/checkpoint-mode

このコマンドをClaude Codeにコピー&ペーストしてスキルをインストールします

ドキュメント

Checkpoint Mode Skill

Overview

Implements selective autonomy - shorter bursts of autonomous work with feedback loops.

Research Source: "Use Agents or Be Left Behind" by Tim Dettmers


Philosophy

"More than 90% of code should be written by agents, but iteratively design systems with shorter bursts of autonomy with feedback loops."

  • Tim Dettmers, 2026

Problem with Perpetual Autonomy:

  • Can waste resources on wrong approach
  • No opportunity for course correction
  • User feels disconnected from progress

Solution:

  • Pause after N tasks or M minutes
  • Generate summary of accomplishments
  • Wait for explicit approval to continue

When to Use

Use Checkpoint Mode For:

  • Novel projects where approach may need adjustment
  • High-cost operations (expensive API calls, cloud resources)
  • Learning phases where user wants to guide direction
  • Regulated environments requiring audit trail

Use Perpetual Mode For:

  • Well-defined PRDs with clear requirements
  • Established patterns with high confidence
  • Overnight builds where interruption isn't desired
  • CI/CD pipelines requiring full automation

Configuration

# Enable checkpoint mode
LOKI_AUTONOMY_MODE=checkpoint

# Pause frequency
LOKI_CHECKPOINT_FREQUENCY=10  # tasks
LOKI_CHECKPOINT_TIME=60  # minutes

# Always pause after these phases
LOKI_CHECKPOINT_PHASES="architecture,deployment"

Checkpoint Workflow

[Work on 10 tasks] → [Pause] → [Generate Summary] → [Wait for Approval]
                                                           ↓
                                              [User reviews and approves]
                                                           ↓
                                                    [Resume work]

On Checkpoint:

  1. Generate Summary

    # Checkpoint Summary
    
    ## Tasks Completed (10)
    - Implemented POST /api/todos endpoint
    - Added unit tests (95% coverage)
    - Set up CI/CD pipeline
    - ...
    
    ## Next Actions
    - Deploy to staging
    - Run integration tests
    - Security audit
    
    ## Resources Used
    - 15 minutes elapsed
    - 3 Haiku agents, 2 Sonnet agents
    - Estimated cost: $0.45
    
  2. Create Approval Signal

    # System writes:
    .loki/signals/CHECKPOINT_SUMMARY_2026-01-14-10-30.md
    
    # User reviews and creates:
    .loki/signals/CHECKPOINT_APPROVED
    
  3. Wait for Approval

    • Orchestrator pauses execution
    • Monitors for approval signal
    • Resumes when signal detected

Agent Instructions (Orchestrator)

When LOKI_AUTONOMY_MODE=checkpoint:

completed_tasks = load_completed_tasks()
tasks_since_checkpoint = completed_tasks - last_checkpoint_count

if tasks_since_checkpoint >= CHECKPOINT_FREQUENCY:
    # Pause and generate summary
    summary = generate_checkpoint_summary()
    write_signal("CHECKPOINT_SUMMARY", summary)

    # Wait for approval
    log_info("Waiting for checkpoint approval...")
    while not signal_exists("CHECKPOINT_APPROVED"):
        sleep(5)

    # Resume work
    remove_signal("CHECKPOINT_APPROVED")
    log_info("Checkpoint approved. Resuming work...")
    last_checkpoint_count = completed_tasks

Comparison with Other Modes

ModeBest ForApproval FrequencyUse Case
PerpetualOvernight buildsNeverFully automated CI/CD
CheckpointNovel projectsEvery 10 tasksLearning new domain
SupervisedCritical systemsEvery taskProduction deployments

Metrics

Track checkpoint effectiveness:

{
  "checkpoint_id": "cp-2026-01-14-001",
  "tasks_completed": 10,
  "time_elapsed_minutes": 15,
  "approval_time_seconds": 45,
  "course_corrections": 0,
  "user_satisfaction": "approved_without_changes"
}

Storage: .loki/metrics/checkpoint-mode/


References


Version: 1.0.0

GitHub リポジトリ

asklokesh/claudeskill-loki-mode
パス: examples/agent-skills/checkpoint-mode
0
ai-agentsai-coding-agentsai-coding-toolsanthropicautonomous-agentsclaude
FAQ

よくある質問

checkpoint-mode Skillとは何ですか?

checkpoint-mode はasklokesh が作成した Claude Skillです。Skillは、Claudeが必要に応じて読み込む指示とリソースをまとめ、追加の指示なしで checkpoint-mode に関連するタスクを実行できるようにします。

checkpoint-mode をインストールするには?

このページのインストールコマンドを使用してください。checkpoint-mode をプラグインとして Claude Code に追加するか、リポジトリを skills ディレクトリにクローンし、Claudeを再起動してSkillを読み込みます。

checkpoint-mode はどのカテゴリに属しますか?

checkpoint-mode は その他 カテゴリに属します。

checkpoint-mode は無料で利用できますか?

はい。checkpoint-mode は AIMCP に掲載されており、無料でインストールできます。

関連スキル

sports-betting-analyzer
その他

このClaudeスキルは、スポーツベッティング市場(スプレッド、オーバー/アンダー、プロップベットなど)を分析し、過去の傾向や状況統計を検証することでバリューベットを特定します。教育目的のための実践的な提案を構造化されたマークダウン形式で出力します。開発者はスポーツベッティング分析ツールとして本機能を活用できますが、娯楽および教育目的に限定されている点に留意してください。

スキルを見る
llamaguard
その他

LlamaGuardは、暴力やヘイトスピーチなど6つの安全性カテゴリーにおいて、LLMの入力と出力をモデレートするMetaの70-80億パラメータモデルです。94〜95%の精度を提供し、vLLM、Hugging Face、Amazon SageMakerを使用してデプロイ可能です。このスキルを使用して、AIアプリケーションにコンテンツフィルタリングと安全策を簡単に統合できます。

スキルを見る
cost-optimization
その他

このClaudeスキルは、リソースの適正サイジング、タグ付け戦略、支出分析を通じて、開発者がクラウドコストを最適化することを支援します。AWS、Azure、GCPにわたるクラウド支出の削減とコストガバナンスの実施のためのフレームワークを提供します。インフラコストの分析、リソースの適正サイジング、または予算制約への対応が必要な際にご利用ください。

スキルを見る
quantizing-models-bitsandbytes
その他

このスキルは、bitsandbytesを使用してLLMを8ビットまたは4ビット精度に量子化し、精度の低下を最小限に抑えつつ50〜75%のメモリ削減を実現します。限られたGPUメモリでより大規模なモデルを実行したり、推論を高速化するのに理想的で、INT8、NF4、FP4などのフォーマットをサポートしています。HuggingFace Transformersと統合され、QLoRAトレーニングや8ビットオプティマイザーを可能にします。

スキルを見る