[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CAANN3J7XH4PWZG18X32X5":3,"skill-same:01M6CAANN3J7XH4PWZG18X32X5":71},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":50,"repositoryHtmlUrl":51,"repositoryHomepageUrl":52,"ownerHtmlUrl":53,"ownerBlogUrl":54,"ownerDescription":55,"updatedAt":56,"install":57,"resources":70},"01M6CAANN3J7XH4PWZG18X32X5","auto-provenance","制品溯源记录自动生成","Generate W3C PROV-compliant provenance records automatically when agents create or modify artifacts","当智能体创建或修改制品（artifact）时，自动生成符合 W3C PROV 标准的溯源记录。","jmagly\u002Faiwg","jmagly","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1159087?v=4","01M6C10AK8N2WCSQN11FYGTJWN","Joseph Magly","01M6C10AQ8A2RMED1Y1BSVY7NF",229,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fsdlc\u002Fskills\u002Fauto-provenance\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSAA4FBTWZP6X98STEHG99","智能体开发","SCENARIO","使用场景",[31,32,33,34,35,36,37,38],"provenance","auto","auto provenance","create","generate","artifacts","records","when","2026-11-10 10:12:30",false,"---\nnamespace: aiwg\nname: auto-provenance\nplatforms: [all]\ndescription: Generate W3C PROV-compliant provenance records automatically when agents create or modify artifacts\n---\n\n# Auto-Provenance\n\nAutomatically generates W3C PROV-compliant provenance records when agents create or modify artifacts.\n\n## Triggers\n\n\nAlternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):\n\n- \"W3C PROV\" → provenance standard reference\n- \"lineage\" → data\u002Fartifact lineage tracking\n- \"provenance for [artifact]\" → specific artifact provenance\n\n## Purpose\n\nEnsures every artifact created by AIWG agents has a provenance record, maintaining an auditable chain of derivation from requirements through implementation. Implements the W3C PROV-DM Entity-Activity-Agent model automatically, without requiring agents to manually create records.\n\n## Activation Conditions\n\nThis skill activates when:\n\n1. **New artifact creation** - Agent writes a new file to `.aiwg\u002F` or `src\u002F` directories\n2. **Artifact modification** - Agent modifies an existing tracked artifact\n3. **Content with @-mentions** - Written content contains derivation @-mentions\n4. **Manual trigger** - User explicitly requests provenance tracking\n\n### Skip Conditions\n\n- File is in `.aiwg\u002Fworking\u002F` (temporary files)\n- File is in `.aiwg\u002Fralph\u002F` (loop state, not artifacts)\n- File is in `.aiwg\u002Fresearch\u002Fprovenance\u002Frecords\u002F` (provenance about provenance would be circular)\n- File is `node_modules\u002F`, `.git\u002F`, or build output\n- File is a provenance record itself (`.prov.yaml`)\n\n## Behavior\n\nWhen a tracked artifact is created or modified:\n\n1. **Detect artifact event**\n   - Monitor file writes in tracked directories\n   - Classify as generation (new) or modification (existing)\n   - Extract agent identity from context\n\n2. **Extract derivation sources**\n   - Parse @-mentions in the written content\n   - Classify relationship types:\n     - `@implements` -> derivation_type: implements\n     - `@tests` -> derivation_type: tests\n     - `@extends` -> derivation_type: extends\n     - `@depends` -> derivation_type: depends\n     - Generic `@path` -> derivation_type: derives_from\n\n3. **Generate provenance record**\n   - Create Entity with URN ID and content hash\n   - Create Activity with type, timestamps\n   - Create Agent with name, type, tool version\n   - Create Relationships (wasGeneratedBy, wasAssociatedWith, wasDerivedFrom)\n\n4. **Validate and save**\n   - Validate against `@$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Fschemas\u002Fprovenance\u002Fprov-record.yaml`\n   - Save to `.aiwg\u002Fresearch\u002Fprovenance\u002Frecords\u002F\u003Cartifact-name>.prov.yaml`\n   - Update provenance index\n\n5. **Report**\n   - Brief confirmation: \"Provenance record created for \u003Cartifact>\"\n   - Warning if derivation sources could not be resolved\n\n## Agent Orchestration\n\n- **Primary**: Provenance Manager (handles record creation and validation)\n- **Passive participants**: All artifact-generating agents (Software Implementer, Test Engineer, Requirements Analyst, Architecture Designer, Technical Writer, Documentation Synthesizer, Security Auditor, API Designer)\n\n## Integration\n\n### With Mention Wiring\n\n@-mentions serve as the primary source of derivation relationships:\n\n```yaml\nintegration:\n  mention_wiring:\n    source: \"@-mentions in artifact content\"\n    target: \"wasDerivedFrom relationships in provenance record\"\n    mapping:\n      \"@implements\": \"implements\"\n      \"@tests\": \"tests\"\n      \"@extends\": \"extends\"\n      \"@depends\": \"depends\"\n      \"@source\": \"derives_from\"\n```\n\n### With Qualified References\n\nQualified @-mentions provide relationship type information:\n\n```yaml\nintegration:\n  qualified_references:\n    source: \"qualified @-mentions (@implements @path)\"\n    target: \"typed derivation relationships\"\n```\n\n### With HITL Gates\n\nPhase transitions trigger provenance completeness checks:\n\n```yaml\nintegration:\n  hitl_gates:\n    action: validate_provenance_coverage\n    trigger: phase_transition\n```\n\n## Configuration\n\n```yaml\nskill:\n  name: auto-provenance\n  type: passive\n  always_active_for:\n    - provenance-manager\n    - software-implementer\n    - test-engineer\n    - requirements-analyst\n    - architecture-designer\n    - technical-writer\n    - documentation-synthesizer\n    - security-auditor\n    - api-designer\n  file_triggers:\n    - pattern: \".aiwg\u002F**\u002F*.md\"\n    - pattern: \".aiwg\u002F**\u002F*.yaml\"\n    - pattern: \"src\u002F**\u002F*.ts\"\n    - pattern: \"src\u002F**\u002F*.js\"\n    - pattern: \"test\u002F**\u002F*.ts\"\n    - pattern: \"test\u002F**\u002F*.js\"\n  exclude:\n    - pattern: \".aiwg\u002Fworking\u002F**\"\n    - pattern: \".aiwg\u002Fralph\u002F**\"\n    - pattern: \".aiwg\u002Fresearch\u002Fprovenance\u002Frecords\u002F**\"\n    - pattern: \"**\u002F*.prov.yaml\"\n  auto_create: true\n  auto_update: true\n  validate_on_create: true\n```\n\n## Output Locations\n\n- Provenance records: `.aiwg\u002Fresearch\u002Fprovenance\u002Frecords\u002F\u003Cname>.prov.yaml`\n- Provenance index: `.aiwg\u002Fresearch\u002Fprovenance\u002Findex.yaml`\n- Validation reports: `.aiwg\u002Freports\u002Fprovenance-report.md`\n\n## References\n\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Fagents\u002Fprovenance-manager.md - Provenance Manager agent\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Fschemas\u002Fprovenance\u002Fprov-record.yaml - PROV record schema\n- @.aiwg\u002Fresearch\u002Fprovenance\u002Fdocs\u002Fprovenance-guide.md - Provenance guide\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Frules\u002Fprovenance-tracking.md - Provenance tracking rules\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Frules\u002Fmention-wiring.md - @-mention wiring patterns\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Frules\u002Fqualified-references.md - Qualified reference rules\n","# Auto-Provenance\n\nAutomatically generates W3C PROV-compliant provenance records when agents create or modify artifacts.\n\n## Triggers\n\n\nAlternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):\n\n- \"W3C PROV\" → provenance standard reference\n- \"lineage\" → data\u002Fartifact lineage tracking\n- \"provenance for [artifact]\" → specific artifact provenance\n\n## Purpose\n\nEnsures every artifact created by AIWG agents has a provenance record, maintaining an auditable chain of derivation from requirements through implementation. Implements the W3C PROV-DM Entity-Activity-Agent model automatically, without requiring agents to manually create records.\n\n## Activation Conditions\n\nThis skill activates when:\n\n1. **New artifact creation** - Agent writes a new file to `.aiwg\u002F` or `src\u002F` directories\n2. **Artifact modification** - Agent modifies an existing tracked artifact\n3. **Content with @-mentions** - Written content contains derivation @-mentions\n4. **Manual trigger** - User explicitly requests provenance tracking\n\n### Skip Conditions\n\n- File is in `.aiwg\u002Fworking\u002F` (temporary files)\n- File is in `.aiwg\u002Fralph\u002F` (loop state, not artifacts)\n- File is in `.aiwg\u002Fresearch\u002Fprovenance\u002Frecords\u002F` (provenance about provenance would be circular)\n- File is `node_modules\u002F`, `.git\u002F`, or build output\n- File is a provenance record itself (`.prov.yaml`)\n\n## Behavior\n\nWhen a tracked artifact is created or modified:\n\n1. **Detect artifact event**\n   - Monitor file writes in tracked directories\n   - Classify as generation (new) or modification (existing)\n   - Extract agent identity from context\n\n2. **Extract derivation sources**\n   - Parse @-mentions in the written content\n   - Classify relationship types:\n     - `@implements` -> derivation_type: implements\n     - `@tests` -> derivation_type: tests\n     - `@extends` -> derivation_type: extends\n     - `@depends` -> derivation_type: depends\n     - Generic `@path` -> derivation_type: derives_from\n\n3. **Generate provenance record**\n   - Create Entity with URN ID and content hash\n   - Create Activity with type, timestamps\n   - Create Agent with name, type, tool version\n   - Create Relationships (wasGeneratedBy, wasAssociatedWith, wasDerivedFrom)\n\n4. **Validate and save**\n   - Validate against `@$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Fschemas\u002Fprovenance\u002Fprov-record.yaml`\n   - Save to `.aiwg\u002Fresearch\u002Fprovenance\u002Frecords\u002F\u003Cartifact-name>.prov.yaml`\n   - Update provenance index\n\n5. **Report**\n   - Brief confirmation: \"Provenance record created for \u003Cartifact>\"\n   - Warning if derivation sources could not be resolved\n\n## Agent Orchestration\n\n- **Primary**: Provenance Manager (handles record creation and validation)\n- **Passive participants**: All artifact-generating agents (Software Implementer, Test Engineer, Requirements Analyst, Architecture Designer, Technical Writer, Documentation Synthesizer, Security Auditor, API Designer)\n\n## Integration\n\n### With Mention Wiring\n\n@-mentions serve as the primary source of derivation relationships:\n\n```yaml\nintegration:\n  mention_wiring:\n    source: \"@-mentions in artifact content\"\n    target: \"wasDerivedFrom relationships in provenance record\"\n    mapping:\n      \"@implements\": \"implements\"\n      \"@tests\": \"tests\"\n      \"@extends\": \"extends\"\n      \"@depends\": \"depends\"\n      \"@source\": \"derives_from\"\n```\n\n### With Qualified References\n\nQualified @-mentions provide relationship type information:\n\n```yaml\nintegration:\n  qualified_references:\n    source: \"qualified @-mentions (@implements @path)\"\n    target: \"typed derivation relationships\"\n```\n\n### With HITL Gates\n\nPhase transitions trigger provenance completeness checks:\n\n```yaml\nintegration:\n  hitl_gates:\n    action: validate_provenance_coverage\n    trigger: phase_transition\n```\n\n## Configuration\n\n```yaml\nskill:\n  name: auto-provenance\n  type: passive\n  always_active_for:\n    - provenance-manager\n    - software-implementer\n    - test-engineer\n    - requirements-analyst\n    - architecture-designer\n    - technical-writer\n    - documentation-synthesizer\n    - security-auditor\n    - api-designer\n  file_triggers:\n    - pattern: \".aiwg\u002F**\u002F*.md\"\n    - pattern: \".aiwg\u002F**\u002F*.yaml\"\n    - pattern: \"src\u002F**\u002F*.ts\"\n    - pattern: \"src\u002F**\u002F*.js\"\n    - pattern: \"test\u002F**\u002F*.ts\"\n    - pattern: \"test\u002F**\u002F*.js\"\n  exclude:\n    - pattern: \".aiwg\u002Fworking\u002F**\"\n    - pattern: \".aiwg\u002Fralph\u002F**\"\n    - pattern: \".aiwg\u002Fresearch\u002Fprovenance\u002Frecords\u002F**\"\n    - pattern: \"**\u002F*.prov.yaml\"\n  auto_create: true\n  auto_update: true\n  validate_on_create: true\n```\n\n## Output Locations\n\n- Provenance records: `.aiwg\u002Fresearch\u002Fprovenance\u002Frecords\u002F\u003Cname>.prov.yaml`\n- Provenance index: `.aiwg\u002Fresearch\u002Fprovenance\u002Findex.yaml`\n- Validation reports: `.aiwg\u002Freports\u002Fprovenance-report.md`\n\n## References\n\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Fagents\u002Fprovenance-manager.md - Provenance Manager agent\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Fschemas\u002Fprovenance\u002Fprov-record.yaml - PROV record schema\n- @.aiwg\u002Fresearch\u002Fprovenance\u002Fdocs\u002Fprovenance-guide.md - Provenance guide\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Frules\u002Fprovenance-tracking.md - Provenance tracking rules\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Frules\u002Fmention-wiring.md - @-mention wiring patterns\n- @$AIWG_ROOT\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsdlc-complete\u002Frules\u002Fqualified-references.md - Qualified reference rules\n",{"name":5,"namespace":44,"platforms":45,"description":7},"aiwg",[46],"all","main","6754967c344ccb087a8de06972f55a41067b291b","agentic\u002Fcode\u002Fplugins\u002Fsdlc\u002Fskills\u002Fauto-provenance",36,"https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg","https:\u002F\u002Faiwg.io","https:\u002F\u002Fgithub.com\u002Fjmagly","https:\u002F\u002Fintegrolabs.io","ml\u002Fai, industrial automation, safety\u002Fsecurity, ssi\r\n\r\nmagly.net\r\nintegrolabs.io\r\naiwg.io\r\nfortemi.com\r\npagenary.com\r\nbytecask.com","2026-11-14 10:46:34",{"source":9,"skillName":5,"commands":58,"prompt":68,"zipAvailable":69},[59,62,65],{"tool":60,"command":61},"npx","npx skills add jmagly\u002Faiwg --skill auto-provenance",{"tool":63,"command":64},"bunx","bunx skills add jmagly\u002Faiwg --skill auto-provenance",{"tool":66,"command":67},"pnpm","pnpm dlx skills add jmagly\u002Faiwg --skill auto-provenance","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fsdlc\u002Fskills\u002Fauto-provenance\u002FSKILL.md",true,[],[72,80,85,112,132,137],{"skillNo":73,"name":74,"nameZh":17,"description":75,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":79},"01M78KW7PZJ9YQZQMW84SN2YD4","plugin-search","Search marketplaces for plugins using configured local manifests and directory caches; rank matching plugins by observed installs, review tier and cache dates without installing or fetching anything","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Futils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":81,"name":74,"nameZh":17,"description":75,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":79},"01M78KSEZS9ZNNFESY9ANW22S0","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Faddons\u002Faiwg-utils\u002Fskills\u002Fplugin-search\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":17,"description":88,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":39},"01M70QA0BSYJ49EES9V4RE8QH1","host-hardening","Read-only system hardening baseline and plan-first host hardening recommendations for SSH, Docker bind addresses, firewall persistence, datastores, exporters and audit retention.","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111],"hardening","host","host hardening","verification","secrets","read","request","remediation","recommendations","audit","plan","port","bind","Bash","access","only","retention","re","never","firewall",{"skillNo":113,"name":114,"nameZh":17,"description":115,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":39},"01M70PNT2Z4HMZPRBTAF6073NN","exposure-analysis","Read-only firewall analysis and effective host exposure reconstruction for Docker published ports, UFW bypass, stale rules, CDN scope, IPv6 asymmetry and external probe allowlists.","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fplugins\u002Fforensics\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[119,120,121,122,123,124,97,125,103,110,105,126,93,127,107,128,129,111,130,131],"analysis","exposure analysis","collection","reconstruction","operator","write","credentials","unknown","internet","local","scope","ports","ufw",{"skillNo":133,"name":87,"nameZh":17,"description":88,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":39},"01M70P8QATMPKA78E4FT5D2TNA","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fsecurity-engineering\u002Fskills\u002Fhost-hardening\u002FSKILL.md",[],[92,93,94,109,110,111,104,108,100,96,97,98,99,101,102,103,95,105,106,107],{"skillNo":138,"name":114,"nameZh":17,"description":115,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":139,"categories":140,"keywords":141,"publishedAt":39},"01M70NMPVJ5H0JH131P60FW4R8","https:\u002F\u002Fgithub.com\u002Fjmagly\u002Faiwg\u002Fblob\u002Fmain\u002Fagentic\u002Fcode\u002Fframeworks\u002Fforensics-complete\u002Fskills\u002Fexposure-analysis\u002FSKILL.md",[],[119,120,131,130,123,129,128,107,122,124,97,125,103,121,105,126,93,111,110,127]]