01-package-scaffolding/provenance-audit/SKILL.md
Audit a skill or artifact's origin chain: where it came from, who authored it, what license applies, what modifications were made, and what trust level to assign. Use when evaluating external skills for adoption, auditing existing skills for license compliance, or establishing trust levels before execution. Do not use when creating new skills from scratch (provenance is 'authored here') or for trusted internal sources.
npx skillsauth add chelch5/skilllibrary provenance-auditInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Audits a skill's origin chain and assigns a trust level.
| Origin Type | Description | Default Trust |
|-------------|-------------|---------------|
| authored | Created in this repo | High |
| forked | Copied from external, modified | Medium |
| imported | Copied from external, unmodified | Medium |
| generated | AI-generated from requirements | Low |
| unknown | Origin unclear | Untrusted |
From SKILL.md frontmatter: name, source, license.
From git history:
# First commit of skill
git log --follow --format="%H %an %ad %s" -- SKILL.md | tail -1
# All modifications
git log --follow --oneline -- SKILL.md
If source claims external origin:
# Fetch and compare original
curl -s "<original-raw-url>" > /tmp/original.md
diff SKILL.md /tmp/original.md
# If different → forked (not imported)
| License | Category | Action | |---------|----------|--------| | Apache-2.0, MIT, BSD-* | Permissive | OK for any use | | GPL-3.0, AGPL-3.0 | Copyleft | Check derivative work implications | | (none) | Unknown | Do not adopt — flag for manual review |
| Origin | License OK | Source Verified | Mods Reviewed | Trust | |--------|-----------|----------------|---------------|-------| | authored | N/A | N/A | N/A | HIGH | | forked | YES | YES | YES | HIGH | | forked | YES | YES | NO | MEDIUM | | imported | YES | YES | N/A | MEDIUM | | generated | N/A | N/A | YES | MEDIUM | | unknown | * | * | * | UNTRUSTED |
Add provenance section to SKILL.md:
# Provenance
- Origin: [type] from [URL or "this repo"]
- License: [SPDX]
- Modifications: [list or "none"]
- Last audit: [ISO date]
- Trust level: [HIGH|MEDIUM|LOW|UNTRUSTED]
# Provenance Audit: [skill-name]
## Origin
- Type: [authored|forked|imported|generated|unknown]
- Source: [URL or "this repo"]
- License: [SPDX]
## Trust Assessment
- License: [PASS|WARN|FAIL]
- Source verified: [YES|NO|UNABLE]
- Modifications reviewed: [YES|NO|N/A]
- Overall trust: [HIGH|MEDIUM|LOW|UNTRUSTED]
## Recommendation
[Action to take]
testing
Manages context window budgets, loading strategies, and compaction techniques for AI-assisted coding sessions. Trigger on 'context window', 'what to load', 'context management', 'context overflow', 'token budget'. DO NOT USE for loading specific project docs into agent context (use project-context) or prompt wording and optimization (use prompt-crafting).
development
Implements authentication, session, token, and authorization patterns for the current stack. Trigger on 'add auth', 'JWT', 'OAuth', 'login endpoint', 'session management', 'API key auth'. DO NOT USE for OWASP hardening checklists (use security-hardening), threat modeling (use security-threat-model), or secret rotation/storage (use security-best-practices).
tools
Defines request/response shapes, versioning, validation, and compatibility rules for API-first work. Trigger on 'design API', 'OpenAPI spec', 'REST schema', 'API versioning', 'generate client SDK'. DO NOT USE for GraphQL schemas, gRPC/protobuf definitions (use stack-standards), auth endpoint logic (use auth-patterns), or external API client wrappers (use external-api-client).
development
Create a repo-local ticket system with an index, machine-readable manifest, board, and individual ticket files. Use when a repo needs task decomposition that autonomous agents can follow without re-planning the whole project each session. Do not use for executing tickets (use ticket-execution) or quick fixes that don't warrant formal tickets.