Skip to content

Add Claude and orchestrated Codex skill usage import - #37

Merged
WTW0313 merged 5 commits into
mainfrom
feat/support-claude-skill-usage
Jul 14, 2026
Merged

Add Claude and orchestrated Codex skill usage import#37
WTW0313 merged 5 commits into
mainfrom
feat/support-claude-skill-usage

Conversation

@WTW0313

@WTW0313 WTW0313 commented Jul 14, 2026

Copy link
Copy Markdown
Owner

Summary

  • Import structured Claude Skill tool calls from project and subagent JSONL artifacts, with user/plugin source attribution, evidence-based statuses, append-only revisions, diagnostics, and symlink-safe artifact deduplication.
  • Recognize current orchestrated Codex custom_tool_call / exec envelopes through a bounded Acorn-based static evaluator while preserving historical exec_command imports.
  • Keep source identity, cursor migration, coverage states, and usage presentation consistent across providers.
  • Migrate formatting, linting, testing, packaging, and task orchestration to Vite+, strengthen published artifact verification, and synchronize the TUI package README.

Why

Skill Usage previously covered only the historical Codex execution envelope. Claude invocations were not imported, and current Codex orchestration wrapped skill reads in JavaScript that the importer could not recognize. This change adds structured Claude support and safely extracts only statically provable Codex skill-read evidence without executing session code.

User impact

Users who explicitly enable Skill Usage import can now see aggregate Claude usage alongside Codex usage. Current orchestrated Codex sessions are counted again, source aliases and plugin cache versions aggregate more accurately, and ambiguous evidence fails closed or surfaces bounded diagnostics. Skillpack continues to retain only minimal invocation metadata rather than prompts, responses, tool arguments, commands, or transcripts.

Validation

  • pnpm check
  • pnpm test — 194 tests passed
  • pnpm build:ci — Core/TUI packaging and npm artifact verification passed

Closes #27
Refs #33, #34, #35

WTW0313 added 5 commits July 13, 2026 16:08
Parse structured Claude Skill tool_use records with user and plugin source attribution, failure revisions, diagnostics, and symlink-safe artifact deduplication.

Harden source identity aggregation, bounded partition reads, coverage messaging, and Windows artifact containment across core and TUI.

Closes #27
Refs #33, #34, #35
Support current custom_tool_call exec envelopes with bounded Acorn-based static evidence extraction while retaining legacy imports. Document provider-specific cursor migration, evidence status, diagnostics, and safety limits.
Map @skillpack/core to its workspace source for type checking so pnpm check:ci does not depend on a pre-existing Core declaration build.
@WTW0313
WTW0313 marked this pull request as ready for review July 14, 2026 09:15
@WTW0313
WTW0313 merged commit ea8fd6e into main Jul 14, 2026
1 check passed
@WTW0313
WTW0313 deleted the feat/support-claude-skill-usage branch July 14, 2026 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Claude usage import and configurable Usage Artifact Roots

1 participant