スキル一覧に戻る
c-daly

ctx

by c-daly

Enforcement system for agent-based workflows in Claude Code

0🍴 0📅 2026年1月25日
GitHubで見るManusで実行

SKILL.md


name: ctx description: View and manage hierarchical context for the current directory user_invocable: true

/ctx - Hierarchical Context Viewer

Shows the resolved context for the current working directory, aggregated from all levels of the hierarchy.

Usage

/ctx           # Show resolved context
/ctx tree      # Show context hierarchy as tree
/ctx edit      # Edit context at current scope

What This Shows

Context is resolved by walking up from the current directory:

  1. Feature/Component level - .context/CONTEXT.md in current or parent dirs
  2. Repo level - .claude/CONTEXT.md at repository root
  3. Project level - Context above the repo
  4. User level - ~/.claude/CONTEXT.md for global preferences

Each level can:

  • Inherit from parent (default)
  • Override specific sections with @override: section_name
  • Ignore parent sections with @ignore: section_name

Implementation

When invoked, run:

python3 ~/.claude/plugins/agent-swarm/ctx/resolver.py resolve .

For tree view:

python3 ~/.claude/plugins/agent-swarm/ctx/resolver.py tree .

Context File Format

# Context: [Scope Name]

@inherit: true           # Default, inherit from parent
@override: conventions   # Override this section completely
@priority: high          # Mark as high priority

## Purpose
What this scope is for.

## Conventions
Coding standards for this scope.

## Patterns
Common patterns used here.

## Pitfalls
Known issues to avoid.

Creating Context

To add context at current scope:

  1. Create .context/CONTEXT.md in the directory
  2. Add relevant sections
  3. Use @override for sections that shouldn't merge with parent

Memory vs Context

  • CONTEXT.md - Static, intentionally written knowledge
  • MEMORY.md - Distilled learnings from sessions (see /distill)

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です