Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

provenance-query

БесплатноБез исполняемых скриптовНе проверен

Query provenance chains to trace artifact derivation and impact

jmaglyот jmagly★ 233 звезды на GitHub

Об этом скилле

Provenance Query Command

Query provenance chains to understand artifact derivation, impact, and attribution.

Instructions

When invoked, query provenance graph:

  1. Load provenance graph

    • Read all records from .aiwg/research/provenance/records/
    • Build in-memory graph of entity relationships
    • Index by entity URN for fast lookup
  2. Execute query (based on subcommand)

    trace - Full derivation chain for an artifact:

    • Follow wasDerivedFrom relationships backward to root sources
    • Display as indented tree showing derivation types
    • Include depth limiting with --depth

    impact - What depends on this artifact:

    • Follow wasDerivedFrom relationships forward
    • Show all artifacts that derive from the queried artifact
    • Useful for understanding change impact

    orphans - Find artifacts without provenance:

    • Scan .aiwg/ and src/ for files
    • Compare against provenance records
    • List untracked artifacts

    agents - Show agent attribution:

    • Group provenance records by agent
    • Show what each agent created/modified
    • Include activity counts and timestamps
  3. Format output

    • Default: indented tree
    • --format table: Markdown table
    • --format mermaid: Mermaid diagram
    • --format json: Raw JSON
  4. Display results

    • Show query results
    • Include summary statistics

Subcommands

  • trace [path] - Full derivation chain for artifact
  • impact [path] - What depends on this artifact
  • orphans - Find artifacts without provenance
  • agents - Show agent attribution summary

Arguments

  • [artifact-path] - Path to artifact (required for trace/impact)
  • --direction [forward|backward|both] - Traversal direction (default: both)
  • --depth [n] - Maximum traversal depth (default: unlimited)
  • --format [tree|table|mermaid|json] - Output format (default: tree)

References

  • @$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/agents/provenance-manager.md - Provenance Manager agent
  • @$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/schemas/provenance/prov-record.yaml - PROV record schema
  • @$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/schemas/provenance/prov-query.yaml - Query schema
  • @$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/rules/provenance-tracking.md - Provenance tracking rules

Установить provenance-query в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл provenance-query?

Query provenance chains to trace artifact derivation and impact

Как установить скилл provenance-query?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл provenance-query запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить provenance-query с