@aicf/agent-skills 1.0.0-rc.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (145) hide show
  1. package/.codex-plugin/plugin.json +40 -0
  2. package/CHANGELOG.md +28 -0
  3. package/LICENSE +21 -0
  4. package/README.md +114 -0
  5. package/assets/aicf-agent-skills-icon.svg +7 -0
  6. package/assets/aicf-agent-skills-logo.svg +9 -0
  7. package/docs/codex-plugin-distribution.md +50 -0
  8. package/docs/installation.md +96 -0
  9. package/docs/public-release-checklist.md +57 -0
  10. package/docs/skill-authoring-standard.md +55 -0
  11. package/docs/skill-index.md +157 -0
  12. package/docs/validation.md +50 -0
  13. package/package.json +61 -0
  14. package/scripts/README.md +6 -0
  15. package/scripts/aicf-skills.mjs +51 -0
  16. package/scripts/check-release-readiness.mjs +197 -0
  17. package/scripts/check-skills-public.mjs +12 -0
  18. package/scripts/check-trigger-coverage.mjs +20 -0
  19. package/scripts/generate-skill-index.mjs +30 -0
  20. package/scripts/install-skills.mjs +31 -0
  21. package/scripts/lib/skill-common.mjs +511 -0
  22. package/scripts/validate-skills.mjs +13 -0
  23. package/skills/README.md +12 -0
  24. package/skills/aicf-action-lifecycle/SKILL.md +87 -0
  25. package/skills/aicf-action-lifecycle/assets/action-handler.template.ts +24 -0
  26. package/skills/aicf-action-lifecycle/assets/approval-record.json +9 -0
  27. package/skills/aicf-action-lifecycle/assets/prepared-action-record.json +11 -0
  28. package/skills/aicf-action-lifecycle/references/action-state-machine.md +17 -0
  29. package/skills/aicf-action-lifecycle/references/approval-patterns.md +9 -0
  30. package/skills/aicf-action-lifecycle/references/idempotency-and-audit.md +8 -0
  31. package/skills/aicf-action-lifecycle/references/verification-patterns.md +7 -0
  32. package/skills/aicf-capability-authoring/SKILL.md +100 -0
  33. package/skills/aicf-capability-authoring/assets/capability.manifest.yaml +31 -0
  34. package/skills/aicf-capability-authoring/assets/entity.manifest.yaml +12 -0
  35. package/skills/aicf-capability-authoring/assets/eval-case.yaml +12 -0
  36. package/skills/aicf-capability-authoring/references/checklist.md +13 -0
  37. package/skills/aicf-capability-authoring/references/examples.md +12 -0
  38. package/skills/aicf-capability-authoring/references/field-guide.md +13 -0
  39. package/skills/aicf-capability-authoring/references/manifest-decision-tree.md +10 -0
  40. package/skills/aicf-control-plane-ui/SKILL.md +90 -0
  41. package/skills/aicf-control-plane-ui/assets/control-plane-wireframe.md +29 -0
  42. package/skills/aicf-control-plane-ui/assets/ui-acceptance-checklist.md +11 -0
  43. package/skills/aicf-control-plane-ui/references/api-contracts.md +14 -0
  44. package/skills/aicf-control-plane-ui/references/approval-console.md +12 -0
  45. package/skills/aicf-control-plane-ui/references/control-plane-screens.md +14 -0
  46. package/skills/aicf-control-plane-ui/references/operational-ux.md +7 -0
  47. package/skills/aicf-controls-and-budgets/SKILL.md +88 -0
  48. package/skills/aicf-controls-and-budgets/assets/budget-fixture.json +15 -0
  49. package/skills/aicf-controls-and-budgets/assets/controls-policy.yaml +14 -0
  50. package/skills/aicf-controls-and-budgets/references/budget-policy.md +12 -0
  51. package/skills/aicf-controls-and-budgets/references/circuit-breakers.md +13 -0
  52. package/skills/aicf-controls-and-budgets/references/control-types.md +10 -0
  53. package/skills/aicf-docs-and-examples/SKILL.md +87 -0
  54. package/skills/aicf-docs-and-examples/assets/example-readme-template.md +21 -0
  55. package/skills/aicf-docs-and-examples/assets/provider-guide-template.md +17 -0
  56. package/skills/aicf-docs-and-examples/references/docs-style-guide.md +9 -0
  57. package/skills/aicf-docs-and-examples/references/example-app-checklist.md +9 -0
  58. package/skills/aicf-docs-and-examples/references/public-api-docs.md +11 -0
  59. package/skills/aicf-docs-and-examples/references/quickstart-template.md +17 -0
  60. package/skills/aicf-eval-authoring/SKILL.md +86 -0
  61. package/skills/aicf-eval-authoring/assets/eval-case.yaml +17 -0
  62. package/skills/aicf-eval-authoring/assets/eval-result.json +15 -0
  63. package/skills/aicf-eval-authoring/assets/promptfoo.config.yaml +12 -0
  64. package/skills/aicf-eval-authoring/references/deterministic-scorers.md +13 -0
  65. package/skills/aicf-eval-authoring/references/eval-rubric.md +10 -0
  66. package/skills/aicf-eval-authoring/references/golden-test-patterns.md +8 -0
  67. package/skills/aicf-eval-authoring/references/real-provider-evals.md +8 -0
  68. package/skills/aicf-governance-lifecycle/SKILL.md +91 -0
  69. package/skills/aicf-governance-lifecycle/assets/lifecycle-change-request.md +21 -0
  70. package/skills/aicf-governance-lifecycle/assets/riskwaiver.md +17 -0
  71. package/skills/aicf-governance-lifecycle/references/compatibility-checks.md +21 -0
  72. package/skills/aicf-governance-lifecycle/references/impact-analysis.md +13 -0
  73. package/skills/aicf-governance-lifecycle/references/lifecycle-state-machine.md +15 -0
  74. package/skills/aicf-governance-lifecycle/references/riskcompiler-rules.md +13 -0
  75. package/skills/aicf-migration/SKILL.md +87 -0
  76. package/skills/aicf-migration/assets/legacy-tool-inventory.csv +3 -0
  77. package/skills/aicf-migration/assets/migration-plan.md +19 -0
  78. package/skills/aicf-migration/references/conversion-playbook.md +9 -0
  79. package/skills/aicf-migration/references/legacy-tool-riskmap.md +14 -0
  80. package/skills/aicf-migration/references/migration-inventory.md +12 -0
  81. package/skills/aicf-migration/references/rollout-plan.md +12 -0
  82. package/skills/aicf-observability-replay/SKILL.md +88 -0
  83. package/skills/aicf-observability-replay/assets/replay-fixture.json +23 -0
  84. package/skills/aicf-observability-replay/assets/trace-to-golden-template.yaml +14 -0
  85. package/skills/aicf-observability-replay/references/redacted-telemetry.md +7 -0
  86. package/skills/aicf-observability-replay/references/replay-simulation.md +10 -0
  87. package/skills/aicf-observability-replay/references/trace-span-map.md +17 -0
  88. package/skills/aicf-observability-replay/references/trace-to-golden.md +12 -0
  89. package/skills/aicf-policy-and-risk/SKILL.md +88 -0
  90. package/skills/aicf-policy-and-risk/assets/policy-broker.template.ts +29 -0
  91. package/skills/aicf-policy-and-risk/assets/policy-decision-fixture.json +15 -0
  92. package/skills/aicf-policy-and-risk/references/deny-approval-allow-matrix.md +12 -0
  93. package/skills/aicf-policy-and-risk/references/policy-broker-contract.md +13 -0
  94. package/skills/aicf-policy-and-risk/references/risktier-rules.md +10 -0
  95. package/skills/aicf-policy-and-risk/references/semantic-invariants.md +9 -0
  96. package/skills/aicf-provider-conformance/SKILL.md +88 -0
  97. package/skills/aicf-provider-conformance/assets/provider-conformance-case.yaml +18 -0
  98. package/skills/aicf-provider-conformance/assets/provider-matrix.json +19 -0
  99. package/skills/aicf-provider-conformance/references/provider-normalization-matrix.md +14 -0
  100. package/skills/aicf-provider-conformance/references/provider-runtime-boundaries.md +10 -0
  101. package/skills/aicf-provider-conformance/references/schema-compatibility.md +8 -0
  102. package/skills/aicf-provider-conformance/references/tool-call-mapping.md +8 -0
  103. package/skills/aicf-release-hygiene/SKILL.md +85 -0
  104. package/skills/aicf-release-hygiene/assets/release-report-template.md +19 -0
  105. package/skills/aicf-release-hygiene/references/forbidden-artifacts.md +12 -0
  106. package/skills/aicf-release-hygiene/references/package-smoke-test.md +10 -0
  107. package/skills/aicf-release-hygiene/references/release-checklist.md +10 -0
  108. package/skills/aicf-release-hygiene/references/source-archive-rules.md +8 -0
  109. package/skills/aicf-runtime-integration/SKILL.md +87 -0
  110. package/skills/aicf-runtime-integration/assets/context-builder.template.ts +22 -0
  111. package/skills/aicf-runtime-integration/assets/handler-registry.template.ts +20 -0
  112. package/skills/aicf-runtime-integration/assets/runtime-integration-plan.md +23 -0
  113. package/skills/aicf-runtime-integration/references/capability-router-patterns.md +8 -0
  114. package/skills/aicf-runtime-integration/references/context-builder-patterns.md +8 -0
  115. package/skills/aicf-runtime-integration/references/handler-registry-patterns.md +8 -0
  116. package/skills/aicf-runtime-integration/references/policy-broker-adapter.md +8 -0
  117. package/skills/aicf-runtime-integration/references/runtime-integration-checklist.md +10 -0
  118. package/skills/aicf-security-redteam/SKILL.md +89 -0
  119. package/skills/aicf-security-redteam/assets/promptfoo-redteam.config.yaml +13 -0
  120. package/skills/aicf-security-redteam/assets/redteam-case.yaml +15 -0
  121. package/skills/aicf-security-redteam/references/prompt-injection-patterns.md +12 -0
  122. package/skills/aicf-security-redteam/references/redteam-acceptance.md +11 -0
  123. package/skills/aicf-security-redteam/references/security-test-pack-map.md +11 -0
  124. package/skills/aicf-security-redteam/references/tool-misuse-patterns.md +11 -0
  125. package/skills/aicf-skill-pack-maintenance/SKILL.md +88 -0
  126. package/skills/aicf-skill-pack-maintenance/assets/skill-template.md +52 -0
  127. package/skills/aicf-skill-pack-maintenance/references/overlap-prevention.md +9 -0
  128. package/skills/aicf-skill-pack-maintenance/references/plugin-packaging.md +8 -0
  129. package/skills/aicf-skill-pack-maintenance/references/skill-authoring-rules.md +10 -0
  130. package/skills/aicf-skill-pack-maintenance/references/trigger-evaluation.md +9 -0
  131. package/skills/aicf-storage-and-aws/SKILL.md +86 -0
  132. package/skills/aicf-storage-and-aws/assets/dynamodb-store.template.ts +21 -0
  133. package/skills/aicf-storage-and-aws/assets/postgres-store.template.ts +22 -0
  134. package/skills/aicf-storage-and-aws/assets/step-functions-approval.template.ts +15 -0
  135. package/skills/aicf-storage-and-aws/references/aws-adapter-boundaries.md +8 -0
  136. package/skills/aicf-storage-and-aws/references/least-privilege-iam.md +11 -0
  137. package/skills/aicf-storage-and-aws/references/step-functions-approval.md +10 -0
  138. package/skills/aicf-storage-and-aws/references/store-interface-map.md +10 -0
  139. package/skills/aicf-trust-redaction-retention/SKILL.md +88 -0
  140. package/skills/aicf-trust-redaction-retention/assets/redaction-policy.yaml +15 -0
  141. package/skills/aicf-trust-redaction-retention/assets/trust-labelled-context.json +18 -0
  142. package/skills/aicf-trust-redaction-retention/references/redaction-rules.md +8 -0
  143. package/skills/aicf-trust-redaction-retention/references/retention-rules.md +11 -0
  144. package/skills/aicf-trust-redaction-retention/references/taint-rules.md +9 -0
  145. package/skills/aicf-trust-redaction-retention/references/trust-labels.md +16 -0
@@ -0,0 +1,40 @@
1
+ {
2
+ "name": "aicf-agent-skills",
3
+ "version": "1.0.0-rc.4",
4
+ "description": "Reusable Agent Skills for building, auditing, testing, migrating, and releasing AI Capability Framework projects.",
5
+ "author": {
6
+ "name": "AICF Contributors",
7
+ "url": "https://github.com/xennon101/ai-capability-framework"
8
+ },
9
+ "homepage": "https://github.com/xennon101/ai-capability-framework/tree/main/agent-skills",
10
+ "repository": "https://github.com/xennon101/ai-capability-framework",
11
+ "license": "MIT",
12
+ "keywords": [
13
+ "aicf",
14
+ "ai-capabilities",
15
+ "agents",
16
+ "agent-skills",
17
+ "evals",
18
+ "policy",
19
+ "governance",
20
+ "codex"
21
+ ],
22
+ "skills": "./skills/",
23
+ "interface": {
24
+ "displayName": "AICF Agent Skills",
25
+ "shortDescription": "Build governed, testable AICF capability systems with coding agents.",
26
+ "longDescription": "Agent Skills for authoring AICF capabilities, integrating runtime handlers, writing evals, red-teaming, validating provider adapters, and releasing public AICF projects safely.",
27
+ "developerName": "AICF Contributors",
28
+ "category": "Developer Tools",
29
+ "capabilities": ["Read", "Write"],
30
+ "websiteURL": "https://github.com/xennon101/ai-capability-framework",
31
+ "defaultPrompt": [
32
+ "Use AICF Agent Skills to author a new governed AI capability.",
33
+ "Use AICF Agent Skills to migrate this AI tool to AICF.",
34
+ "Use AICF Agent Skills to add evals and red-team tests for this capability."
35
+ ],
36
+ "brandColor": "#111827",
37
+ "composerIcon": "./assets/aicf-agent-skills-icon.svg",
38
+ "logo": "./assets/aicf-agent-skills-logo.svg"
39
+ }
40
+ }
package/CHANGELOG.md ADDED
@@ -0,0 +1,28 @@
1
+ # Changelog
2
+
3
+ All notable public changes to the AICF Agent Skills package are documented here.
4
+
5
+ ## 1.0.0-rc.4 - Unreleased
6
+
7
+ - Aligned the skills package, Codex plugin manifest, and all real skill metadata with
8
+ the AICF `1.0.0-rc.4` release candidate.
9
+ - Added public publish metadata for `@aicf/agent-skills` and documented the
10
+ same-version, same-tag release process with the root package.
11
+ - Added S6 release hardening: stale index checks, release-readiness assertions, stricter
12
+ package/install tests, and complete public package docs.
13
+ - Added five S5 skills for provider conformance, optional storage/AWS adapters,
14
+ migration, docs/examples, and control-plane UI/API work.
15
+ - Reached the full 17-skill public package inventory.
16
+ - Added five S4 runtime and control skills for runtime integration, action lifecycle,
17
+ trust/redaction/retention, observability/replay, and controls/budgets.
18
+ - Expanded trigger fixture coverage and package tests to cover 12 skills.
19
+ - Added the first seven core AICF builder skills for capability authoring, governance
20
+ lifecycle, policy/risk, eval authoring, security red-team work, release hygiene, and
21
+ skills package maintenance.
22
+ - Added trigger fixture coverage for all S3 skills and regenerated the public skill
23
+ index.
24
+ - Added validation scripts, trigger coverage checks, public-safety checks, skill index
25
+ generation, installation tooling, package tests, and CLI dispatch for the skills
26
+ package.
27
+ - Added the initial package skeleton, Codex plugin metadata, public docs placeholders,
28
+ and SVG assets.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 AI Capability Framework contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,114 @@
1
+ # AICF Agent Skills
2
+
3
+ Reusable Agent Skills for coding agents that build, integrate, test, audit, and release
4
+ AI Capability Framework projects.
5
+
6
+ These are builder skills. They guide Codex or another compatible coding agent while it
7
+ edits a repository. They are not AICF runtime capabilities, provider tools,
8
+ application-agent tools, or a replacement for AICF validation.
9
+
10
+ ## What Is Included
11
+
12
+ The package contains 17 public skills:
13
+
14
+ - capability authoring, governance lifecycle, policy/risk, eval authoring, security
15
+ red-team work, release hygiene, and skill-pack maintenance;
16
+ - runtime integration, action lifecycle, trust/redaction/retention,
17
+ observability/replay, and controls/budgets;
18
+ - provider conformance, optional storage/AWS guidance, migration, docs/examples, and
19
+ control-plane UI/API guidance.
20
+
21
+ See [docs/skill-index.md](docs/skill-index.md) for descriptions and trigger examples
22
+ generated from the current package.
23
+
24
+ ## Install And Check
25
+
26
+ Run package commands from this directory:
27
+
28
+ ```bash
29
+ cd agent-skills
30
+ npm install
31
+ npm run check
32
+ npm run pack:dry
33
+ ```
34
+
35
+ The package is independent from the root AICF package. The repository root does not use
36
+ npm workspaces for this package.
37
+
38
+ ## Commands
39
+
40
+ ```bash
41
+ npm run validate
42
+ npm run check:triggers
43
+ npm run index
44
+ npm run check:index
45
+ npm run test
46
+ npm run check:public
47
+ npm run check:release
48
+ npm run check
49
+ npm run pack:dry
50
+ node scripts/aicf-skills.mjs list
51
+ ```
52
+
53
+ Expected successful output includes messages such as `Skill validation passed`,
54
+ `Trigger coverage passed`, `Skill index is current`, and
55
+ `Agent skills release readiness passed`.
56
+
57
+ The root repository exposes equivalent script hooks such as `npm run skills:ci`,
58
+ `npm run skills:check`, `npm run skills:pack:dry`, and `npm run skills:publish:dry`.
59
+
60
+ ## Local Skill Copy
61
+
62
+ Copy the current skills to a local discovery folder:
63
+
64
+ ```bash
65
+ node scripts/install-skills.mjs --target ../.agents/skills
66
+ node scripts/install-skills.mjs --target $HOME/.agents/skills
67
+ ```
68
+
69
+ The install script copies only skill folders. It does not copy package metadata, tests,
70
+ plugin metadata, dependencies, or local artifacts. It refuses overwrite unless `--force`
71
+ is passed.
72
+
73
+ ## Distribution
74
+
75
+ The Codex plugin manifest lives at `.codex-plugin/plugin.json` and points to `./skills/`
76
+ with relative asset paths. The package is released as `@aicf/agent-skills` and uses the
77
+ same version and release tag as the root `ai-capability-framework` package.
78
+
79
+ Prerelease install example:
80
+
81
+ ```bash
82
+ npm install @aicf/agent-skills@next
83
+ npx aicf-skills list
84
+ ```
85
+
86
+ Before the first real scoped-package publish, the maintainer must configure npm
87
+ ownership and Trusted Publishing for `@aicf/agent-skills`.
88
+
89
+ Reference docs:
90
+
91
+ - https://developers.openai.com/codex/skills
92
+ - https://developers.openai.com/codex/plugins/build
93
+ - https://agentskills.io/specification
94
+
95
+ ## Contributing
96
+
97
+ New or changed skills must keep the required frontmatter, section order, one-level
98
+ references/assets, trigger fixtures, and public-safety rules. Run:
99
+
100
+ ```bash
101
+ npm run index
102
+ npm run check
103
+ ```
104
+
105
+ ## Public Safety
106
+
107
+ All skill content must be public-safe. Do not add private specs, local paths, prompt
108
+ text captured from a real session, provider payloads, traces, credentials, account IDs,
109
+ tenant IDs, or customer data. Use synthetic examples and `example.com` where examples
110
+ need URLs.
111
+
112
+ ## License
113
+
114
+ MIT, matching the root AI Capability Framework v1 license decision.
@@ -0,0 +1,7 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" role="img" aria-labelledby="title desc">
2
+ <title id="title">AICF Agent Skills icon</title>
3
+ <desc id="desc">A simple public-safe icon for the AICF Agent Skills package.</desc>
4
+ <rect width="64" height="64" rx="12" fill="#111827"/>
5
+ <path d="M18 42V20h28v22H18z" fill="none" stroke="#f9fafb" stroke-width="4"/>
6
+ <path d="M24 28h16M24 36h10" stroke="#38bdf8" stroke-width="4" stroke-linecap="round"/>
7
+ </svg>
@@ -0,0 +1,9 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 420 96" role="img" aria-labelledby="title desc">
2
+ <title id="title">AICF Agent Skills logo</title>
3
+ <desc id="desc">Text logo for the AICF Agent Skills package.</desc>
4
+ <rect x="4" y="12" width="72" height="72" rx="14" fill="#111827"/>
5
+ <path d="M22 58V30h36v28H22z" fill="none" stroke="#f9fafb" stroke-width="5"/>
6
+ <path d="M30 39h20M30 49h12" stroke="#38bdf8" stroke-width="5" stroke-linecap="round"/>
7
+ <text x="96" y="42" font-family="Arial, sans-serif" font-size="28" font-weight="700" fill="#111827">AICF</text>
8
+ <text x="96" y="68" font-family="Arial, sans-serif" font-size="24" fill="#374151">Agent Skills</text>
9
+ </svg>
@@ -0,0 +1,50 @@
1
+ # Codex Plugin Distribution
2
+
3
+ The Codex plugin manifest is `.codex-plugin/plugin.json`.
4
+
5
+ The manifest points to `./skills/`, uses relative asset paths, and omits legal policy
6
+ URLs unless the repository contains real public policy documents.
7
+
8
+ The package does not include MCP servers, hooks, app connectors, or cloud deployment
9
+ behavior. It distributes skill folders and public package metadata only.
10
+
11
+ ## Required Manifest Checks
12
+
13
+ - `skills` is exactly `./skills/`.
14
+ - `license` is `MIT`.
15
+ - `version` matches `agent-skills/package.json`.
16
+ - `interface.composerIcon` and `interface.logo` are relative asset paths that resolve
17
+ inside the package.
18
+ - The manifest does not point to local-only files or dependency folders.
19
+
20
+ ## Local Marketplace Example
21
+
22
+ Use a local marketplace entry while developing:
23
+
24
+ ```json
25
+ {
26
+ "name": "aicf-local-plugins",
27
+ "plugins": [
28
+ {
29
+ "name": "aicf-agent-skills",
30
+ "source": {
31
+ "source": "local",
32
+ "path": "./agent-skills"
33
+ },
34
+ "policy": {
35
+ "installation": "AVAILABLE",
36
+ "authentication": "ON_INSTALL"
37
+ },
38
+ "category": "Developer Tools"
39
+ }
40
+ ]
41
+ }
42
+ ```
43
+
44
+ For public repository distribution:
45
+
46
+ ```bash
47
+ codex plugin marketplace add xennon101/ai-capability-framework --sparse agent-skills
48
+ ```
49
+
50
+ Run `npm run check:release` before sharing the plugin path.
@@ -0,0 +1,96 @@
1
+ # Installation
2
+
3
+ The AICF Agent Skills package is an independent nested npm package. Commands run from
4
+ `agent-skills/` unless noted otherwise.
5
+
6
+ ## Local package setup
7
+
8
+ ```bash
9
+ cd agent-skills
10
+ npm install
11
+ npm run check
12
+ ```
13
+
14
+ Expected successful output includes `Skill validation passed`,
15
+ `Trigger coverage passed`, and `Agent skills release readiness passed`.
16
+
17
+ The root AICF repository can call package checks through root script hooks:
18
+
19
+ ```bash
20
+ npm run skills:ci
21
+ npm run skills:check
22
+ npm run skills:pack:dry
23
+ ```
24
+
25
+ ## Repo-local skill copy
26
+
27
+ Copy skills into a repository-local discovery folder:
28
+
29
+ ```bash
30
+ node scripts/install-skills.mjs --target ../.agents/skills
31
+ ```
32
+
33
+ Use `--force` only when replacing a previous local copy.
34
+
35
+ ## User-level skill copy
36
+
37
+ Copy skills into a user-level discovery folder:
38
+
39
+ ```bash
40
+ node scripts/install-skills.mjs --target $HOME/.agents/skills
41
+ ```
42
+
43
+ The install script copies only skill folders. It does not copy package metadata, tests,
44
+ plugin metadata, dependency folders, or local artifacts.
45
+
46
+ ## Codex plugin setup
47
+
48
+ The plugin manifest is `.codex-plugin/plugin.json`. A local plugin marketplace entry can
49
+ point at this package:
50
+
51
+ ```json
52
+ {
53
+ "name": "aicf-local-plugins",
54
+ "interface": {
55
+ "displayName": "AICF Local Plugins"
56
+ },
57
+ "plugins": [
58
+ {
59
+ "name": "aicf-agent-skills",
60
+ "source": {
61
+ "source": "local",
62
+ "path": "./agent-skills"
63
+ },
64
+ "policy": {
65
+ "installation": "AVAILABLE",
66
+ "authentication": "ON_INSTALL"
67
+ },
68
+ "category": "Developer Tools"
69
+ }
70
+ ]
71
+ }
72
+ ```
73
+
74
+ For a public repository sparse install, use the real repository path:
75
+
76
+ ```bash
77
+ codex plugin marketplace add xennon101/ai-capability-framework --sparse agent-skills
78
+ ```
79
+
80
+ ## npm package usage
81
+
82
+ Consumers can install the npm package and use its CLI. Use the `next` dist tag for
83
+ release candidates:
84
+
85
+ ```bash
86
+ npm install @aicf/agent-skills@next
87
+ npx aicf-skills list
88
+ ```
89
+
90
+ The npm package does not install hooks or run provider calls. It ships public skill
91
+ folders, docs, assets, and validation scripts.
92
+
93
+ The skills package is released with the same version and Git tag as
94
+ `ai-capability-framework`. Before the first real publish, the npm `@aicf/agent-skills`
95
+ package must have scope ownership and Trusted Publishing configured for the repository
96
+ publish workflow.
@@ -0,0 +1,57 @@
1
+ # Public Release Checklist
2
+
3
+ Run these checks from `agent-skills/` before releasing or sharing the package:
4
+
5
+ ```bash
6
+ npm run index
7
+ npm run check
8
+ npm run pack:dry
9
+ node scripts/install-skills.mjs --target <temp-dir> --force --allow-outside
10
+ ```
11
+
12
+ Run these checks from the repository root when available:
13
+
14
+ ```bash
15
+ npm run skills:ci
16
+ npm run skills:check
17
+ npm run skills:pack:dry
18
+ npm run skills:publish:dry
19
+ npm run check:metadata
20
+ npm run check:workspace-public
21
+ npm run check:secrets
22
+ ```
23
+
24
+ ## Release Review
25
+
26
+ - Confirm `docs/skill-index.md` is current.
27
+ - Confirm `npm run check` passes, including `check:index` and `check:release`.
28
+ - Inspect `npm run pack:dry` output and confirm it includes docs, assets, scripts,
29
+ plugin metadata, and all 17 skills.
30
+ - Confirm tests, trigger coverage, and public-safety scans pass.
31
+ - Confirm the plugin manifest at `.codex-plugin/plugin.json` points to `./skills/` and
32
+ uses relative asset paths.
33
+ - Confirm `agent-skills/package.json`, `.codex-plugin/plugin.json`, and all real skill
34
+ metadata use the same version as the root package.
35
+ - Confirm `agent-skills/package.json`, `.codex-plugin/plugin.json`, and all real skill
36
+ frontmatter use MIT, matching the root package and public license decision.
37
+ - Confirm `agent-skills/package.json` is public and sets `publishConfig.access` to
38
+ `public`.
39
+ - Confirm root release certification includes `skills:ci`, `skills:check`, and
40
+ `skills:pack:dry`.
41
+ - Use `npm run skills:publish:dry` as a quick no-publish package check. For an actual
42
+ release-tag review, run the explicit tagged dry-run from the root release checklist,
43
+ such as `npm publish ./agent-skills --dry-run --access public --tag next`.
44
+ - Confirm the install script copies skills to a temporary directory and does not copy
45
+ package metadata, tests, plugin metadata, dependency folders, or local artifacts.
46
+ - Confirm the changelog, version consistency, and same-version, same-tag release policy
47
+ before tagging or publishing.
48
+ - Confirm source archive check and npm package check behavior in the root repository
49
+ when preparing a full AICF release.
50
+ - Confirm npm ownership and Trusted Publishing are configured for `@aicf/agent-skills`
51
+ before the first real scoped-package publish.
52
+
53
+ ## Public-Safety Review
54
+
55
+ Do not include private specs, prompt text captured from a real session, provider
56
+ payloads, traces, logs, credentials, account IDs, tenant IDs, generated docs, archives,
57
+ dependency folders, or local-only files.
@@ -0,0 +1,55 @@
1
+ # Skill Authoring Standard
2
+
3
+ Every AICF skill must be concise, public-safe, and focused on one builder workflow.
4
+
5
+ ## Folder And Frontmatter
6
+
7
+ - Each skill folder lives directly under `skills/`.
8
+ - The folder name and `SKILL.md` frontmatter `name` must match.
9
+ - Names use lowercase letters, digits, and hyphens only.
10
+ - Frontmatter must include `description`, `license: MIT`, `compatibility`, and the
11
+ required `metadata.aicf.skill.*` keys.
12
+ - `metadata.aicf.skill.version` must match the package version.
13
+ - `metadata.aicf.skill.package` must be `@aicf/agent-skills`.
14
+ - `allowed-tools` is not permitted.
15
+
16
+ ## Required Sections
17
+
18
+ Each `SKILL.md` must contain these required sections in order:
19
+
20
+ 1. `Purpose`
21
+ 2. `Use this skill when`
22
+ 3. `Do not use this skill when`
23
+ 4. `Inputs to inspect first`
24
+ 5. `Workflow`
25
+ 6. `Required outputs`
26
+ 7. `Validation`
27
+ 8. `Hard rules`
28
+ 9. `Handoff format`
29
+
30
+ Keep `SKILL.md` under 500 lines. Put detailed checklists, templates, and examples in
31
+ one-level resource files.
32
+
33
+ ## References, Assets, And Scripts
34
+
35
+ - Links from `SKILL.md` may point only to one-level `references/`, `assets/`, or
36
+ `scripts/` files inside that skill folder.
37
+ - Empty `references/` and `assets/` directories are not allowed.
38
+ - JSON, YAML, and YML files must parse.
39
+ - Do not create per-skill README, changelog, install guide, or extra process docs.
40
+
41
+ ## Trigger Fixtures
42
+
43
+ Every production skill needs one trigger fixture in
44
+ `tests/fixtures/trigger-prompts.json` with:
45
+
46
+ - at least one positive example;
47
+ - at least one negative example;
48
+ - `required_description_terms` that appear in the skill description.
49
+
50
+ ## Public-Safe Content
51
+
52
+ Skills must not copy private project notes, private planning files, local paths, real
53
+ credentials, account identifiers, customer data, prompt text captured from a real
54
+ session, provider payloads, traces, logs, generated docs, or archives. Use synthetic
55
+ examples and `example.com`.
@@ -0,0 +1,157 @@
1
+ # Skill Index
2
+
3
+ Generated from the current AICF Agent Skills package.
4
+
5
+ ## aicf-action-lifecycle
6
+
7
+ - Description: Implement or audit AICF propose, prepare, preview, approve, commit, verify, audit, idempotency, and rollback-safe action workflows for side-effecting AI capabilities.
8
+ - Category: action-lifecycle
9
+ - Reference files: references/action-state-machine.md, references/approval-patterns.md, references/idempotency-and-audit.md, references/verification-patterns.md
10
+ - Primary trigger phrases: none
11
+ - Positive examples: Implement prepare, approval, commit, and verify for a side-effecting capability. | Audit duplicate commit prevention and action state transitions. | Add idempotency and audit tests for approval-required actions.
12
+ - Negative examples: Add a provider conformance export. | Create a quickstart README.
13
+
14
+ ## aicf-capability-authoring
15
+
16
+ - Description: Author or modify AICF capability/entity manifests, schemas, model-facing slices, and starter evals. Use when creating an AI tool, exposing app functionality to models, or converting an operation into a governed AICF capability.
17
+ - Category: capability-authoring
18
+ - Reference files: references/checklist.md, references/examples.md, references/field-guide.md, references/manifest-decision-tree.md
19
+ - Primary trigger phrases: creating an AI tool, exposing app functionality to models, converting an operation into a governed AICF capability.
20
+ - Positive examples: Create an AICF manifest for a support ticket read tool. | Convert this refund operation into a governed AICF capability with an entity manifest. | Add starter evals for a new model-facing capability.
21
+ - Negative examples: Implement the HTTP handler for an existing capability. | Prepare the repository for an npm release.
22
+
23
+ ## aicf-control-plane-ui
24
+
25
+ - Description: Build or audit the optional AICF governance control-plane UI/API for capability catalogue, lifecycle, policy decisions, approvals, eval status, traces, controls, and evidence export.
26
+ - Category: control-plane-ui
27
+ - Reference files: references/api-contracts.md, references/approval-console.md, references/control-plane-screens.md, references/operational-ux.md
28
+ - Primary trigger phrases: none
29
+ - Positive examples: Build the AICF control-plane capability catalogue and approval queue. | Audit control-plane API responses for safe summaries only. | Add tests for lifecycle, eval status, controls, and evidence export views.
30
+ - Negative examples: Convert a legacy tool into a capability manifest. | Validate Gemini function declarations.
31
+
32
+ ## aicf-controls-and-budgets
33
+
34
+ - Description: Implement or audit AICF capability-level kill switches, circuit breakers, budgets, max loops, rate controls, and fail-safe read-only modes without replacing a model gateway.
35
+ - Category: controls-budgets
36
+ - Reference files: references/budget-policy.md, references/circuit-breakers.md, references/control-types.md
37
+ - Primary trigger phrases: none
38
+ - Positive examples: Add a capability kill switch and read-only mode. | Test budget exceeded behavior in the provider tool loop. | Audit circuit breakers for provider errors and validation failures.
39
+ - Negative examples: Add lifecycle approval records. | Prepare a source archive review.
40
+
41
+ ## aicf-docs-and-examples
42
+
43
+ - Description: Update AICF public docs, quickstarts, examples, README files, API references, provider guides, and sample apps so they match current public contracts and implementation.
44
+ - Category: docs-examples
45
+ - Reference files: references/docs-style-guide.md, references/example-app-checklist.md, references/public-api-docs.md, references/quickstart-template.md
46
+ - Primary trigger phrases: none
47
+ - Positive examples: Update the README and quickstart after adding a provider subpath. | Refresh example app docs so commands and expected output match implementation. | Add a provider guide with mock-first usage and optional live steps.
48
+ - Negative examples: Implement a storage adapter. | Audit an approval state transition.
49
+
50
+ ## aicf-eval-authoring
51
+
52
+ - Description: Create AICF capability-aware evals, golden tests, rubrics, deterministic fixtures, real-provider test cases, and regression suites. Use for AI quality, tool-choice accuracy, action correctness, or model upgrades.
53
+ - Category: evals
54
+ - Reference files: references/deterministic-scorers.md, references/eval-rubric.md, references/golden-test-patterns.md, references/real-provider-evals.md
55
+ - Primary trigger phrases: none
56
+ - Positive examples: Add golden evals for tool choice and input args. | Create deterministic fixtures for a model upgrade regression suite. | Write eval cases proving no forbidden commit tool is called.
57
+ - Negative examples: Configure a kill switch for a capability. | Review npm package contents.
58
+
59
+ ## aicf-governance-lifecycle
60
+
61
+ - Description: Manage AICF capability lifecycle, risk compiler rules, compatibility checks, and impact analysis. Use when moving capabilities through draft, review, approved, canary, production, deprecated, disabled, or removed states.
62
+ - Category: governance
63
+ - Reference files: references/compatibility-checks.md, references/impact-analysis.md, references/lifecycle-state-machine.md, references/riskcompiler-rules.md
64
+ - Primary trigger phrases: moving capabilities through draft, review, approved, canary, production
65
+ - Positive examples: Review whether this capability can move from draft to production. | Run an impact analysis before deprecating a capability. | Compare two capability versions for governance risk.
66
+ - Negative examples: Write a new capability manifest from scratch. | Create trigger fixtures for the skills package.
67
+
68
+ ## aicf-migration
69
+
70
+ - Description: Migrate existing AI tools, prompts, agents, raw function calls, RAG flows, or app integrations into AICF capabilities with policy, schemas, evals, runtime handlers, and safe rollout.
71
+ - Category: migration
72
+ - Reference files: references/conversion-playbook.md, references/legacy-tool-riskmap.md, references/migration-inventory.md, references/rollout-plan.md
73
+ - Primary trigger phrases: none
74
+ - Positive examples: Migrate our existing agent tools into AICF capabilities. | Inventory legacy function calls and convert them to governed manifests. | Plan a read-only canary rollout for a legacy RAG flow.
75
+ - Negative examples: Build the optional control-plane UI. | Prepare an npm package dry run.
76
+
77
+ ## aicf-observability-replay
78
+
79
+ - Description: Add AICF tracing, OpenTelemetry-style events, Langfuse/export adapters, replay fixtures, simulation, and trace-to-golden workflows while keeping raw prompts and provider payloads redacted by default.
80
+ - Category: observability-replay
81
+ - Reference files: references/redacted-telemetry.md, references/replay-simulation.md, references/trace-span-map.md, references/trace-to-golden.md
82
+ - Primary trigger phrases: none
83
+ - Positive examples: Add AICF trace events for routing, policy, tools, and eval scores. | Create a replay fixture from sanitized runtime behavior. | Draft a trace-to-golden eval with review required.
84
+ - Negative examples: Wire host auth into the runtime context builder. | Create a red-team prompt injection case.
85
+
86
+ ## aicf-policy-and-risk
87
+
88
+ - Description: Implement or audit AICF policy broker, risk tiers, semantic invariants, tenant isolation, permissions, entitlements, approval requirements, and fail-closed runtime decisions.
89
+ - Category: policy-risk
90
+ - Reference files: references/deny-approval-allow-matrix.md, references/policy-broker-contract.md, references/risktier-rules.md, references/semantic-invariants.md
91
+ - Primary trigger phrases: none
92
+ - Positive examples: Audit the policy broker for missing tenant checks. | Add fail-closed tests for approval-required prepare actions. | Review risk tiers and semantic invariants for a money movement capability.
93
+ - Negative examples: Generate a provider conformance matrix. | Create public release notes.
94
+
95
+ ## aicf-provider-conformance
96
+
97
+ - Description: Validate AICF capabilities across provider and framework adapters: OpenAI, Anthropic Claude, Google Gemini, Vercel AI SDK, MCP, LangChain/LangGraph, and Semantic Kernel-compatible workflows.
98
+ - Category: provider-conformance
99
+ - Reference files: references/provider-normalization-matrix.md, references/provider-runtime-boundaries.md, references/schema-compatibility.md, references/tool-call-mapping.md
100
+ - Primary trigger phrases: none
101
+ - Positive examples: Validate tool descriptors across OpenAI, Anthropic, Gemini, MCP, and LangChain. | Run a provider conformance matrix for routed support capabilities. | Check schema normalization and tool-call parsing across provider adapters.
102
+ - Negative examples: Wire a handler registry into an API server. | Create public docs for a quickstart.
103
+
104
+ ## aicf-release-hygiene
105
+
106
+ - Description: Prepare safe public AICF releases by checking package contents, source archives, npm dry runs, clean install, CI, docs, secrets, private artifacts, generated files, logs, traces, and provider payload leaks.
107
+ - Category: release-hygiene
108
+ - Reference files: references/forbidden-artifacts.md, references/package-smoke-test.md, references/release-checklist.md, references/source-archive-rules.md
109
+ - Primary trigger phrases: none
110
+ - Positive examples: Check package contents and clean install behavior before release. | Prepare a safe source archive review for the AICF package. | Run public release hygiene checks for docs, logs, traces, and generated files.
111
+ - Negative examples: Write policy broker reason-code tests. | Create a new capability manifest.
112
+
113
+ ## aicf-runtime-integration
114
+
115
+ - Description: Integrate AICF runtime into an application by wiring context builders, capability routers, handler registries, policy brokers, provider runtimes, stores, and tests. Use when connecting AICF to real app code.
116
+ - Category: runtime
117
+ - Reference files: references/capability-router-patterns.md, references/context-builder-patterns.md, references/handler-registry-patterns.md, references/policy-broker-adapter.md, references/runtime-integration-checklist.md
118
+ - Primary trigger phrases: connecting AICF to real app code.
119
+ - Positive examples: Wire AICF runtime into this API server with context builders and handlers. | Connect the capability router and policy broker to real app services. | Add runtime tests for denied permission, malformed args, and approval required.
120
+ - Negative examples: Write only a capability manifest. | Prepare package contents for release.
121
+
122
+ ## aicf-security-redteam
123
+
124
+ - Description: Generate AICF security and red-team tests for prompt injection, indirect injection, tool misuse, data exfiltration, cross-tenant access, approval bypass, schema confusion, and unsafe actions.
125
+ - Category: security-redteam
126
+ - Reference files: references/prompt-injection-patterns.md, references/redteam-acceptance.md, references/security-test-pack-map.md, references/tool-misuse-patterns.md
127
+ - Primary trigger phrases: none
128
+ - Positive examples: Generate red-team tests for approval bypass on a refund prepare capability. | Add prompt injection and schema confusion tests for a provider-exposed tool. | Create security cases for cross-tenant access and data exfiltration.
129
+ - Negative examples: Author a normal read capability manifest. | Update the plugin metadata version.
130
+
131
+ ## aicf-skill-pack-maintenance
132
+
133
+ - Description: Create, update, validate, test, and release the AICF Agent Skills Pack itself, including SKILL.md frontmatter, trigger descriptions, references, assets, plugin metadata, and public distribution.
134
+ - Category: skill-pack-maintenance
135
+ - Reference files: references/overlap-prevention.md, references/plugin-packaging.md, references/skill-authoring-rules.md, references/trigger-evaluation.md
136
+ - Primary trigger phrases: none
137
+ - Positive examples: Add a new SKILL.md with references and trigger descriptions. | Update the AICF Agent Skills plugin metadata. | Regenerate the skill index and validate trigger fixtures.
138
+ - Negative examples: Promote a capability to production. | Create a red-team case for a high-risk tool.
139
+
140
+ ## aicf-storage-and-aws
141
+
142
+ - Description: Implement optional AICF storage and AWS reference adapters for action stores, approval stores, audit, idempotency, Step Functions approvals, DynamoDB/RDS/Postgres, CloudWatch, and least-privilege IAM.
143
+ - Category: storage-aws
144
+ - Reference files: references/aws-adapter-boundaries.md, references/least-privilege-iam.md, references/step-functions-approval.md, references/store-interface-map.md
145
+ - Primary trigger phrases: none
146
+ - Positive examples: Add optional DynamoDB stores for AICF prepared actions and approvals. | Audit AWS adapter boundaries so root imports stay SDK-free. | Write fake-client tests for Step Functions approval handoff.
147
+ - Negative examples: Run a provider conformance matrix. | Create an eval case for tool selection.
148
+
149
+ ## aicf-trust-redaction-retention
150
+
151
+ - Description: Add AICF trust labels, taint tracking, provenance, provider-boundary redaction, trace redaction, and retention rules. Use for privacy, prompt injection, sensitive data, or logging boundaries.
152
+ - Category: trust-redaction-retention
153
+ - Reference files: references/redaction-rules.md, references/retention-rules.md, references/taint-rules.md, references/trust-labels.md
154
+ - Primary trigger phrases: none
155
+ - Positive examples: Add trust labels and taint rules for retrieved document context. | Review provider-boundary redaction for sensitive support data. | Add retention rules for trace and eval artifacts.
156
+ - Negative examples: Implement a DynamoDB store. | Generate a skill index.
157
+