@baselane/packs 0.1.5 → 0.1.7
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.
- package/package.json +2 -2
- package/packs/full-harness/pack.json +3093 -0
- package/packs/full-harness/rendered/.claude/agents/a11y-architect.md +138 -0
- package/packs/full-harness/rendered/.claude/agents/agent-evaluator.md +206 -0
- package/packs/full-harness/rendered/.claude/agents/architect.md +209 -0
- package/packs/full-harness/rendered/.claude/agents/build-error-resolver.md +114 -0
- package/packs/full-harness/rendered/.claude/agents/chief-of-staff.md +149 -0
- package/packs/full-harness/rendered/.claude/agents/code-architect.md +71 -0
- package/packs/full-harness/rendered/.claude/agents/code-explorer.md +69 -0
- package/packs/full-harness/rendered/.claude/agents/code-reviewer.md +312 -0
- package/packs/full-harness/rendered/.claude/agents/code-simplifier.md +47 -0
- package/packs/full-harness/rendered/.claude/agents/comment-analyzer.md +45 -0
- package/packs/full-harness/rendered/.claude/agents/conversation-analyzer.md +52 -0
- package/packs/full-harness/rendered/.claude/agents/cpp-build-resolver.md +90 -0
- package/packs/full-harness/rendered/.claude/agents/cpp-reviewer.md +64 -0
- package/packs/full-harness/rendered/.claude/agents/csharp-reviewer.md +93 -0
- package/packs/full-harness/rendered/.claude/agents/dart-build-resolver.md +201 -0
- package/packs/full-harness/rendered/.claude/agents/database-reviewer.md +91 -0
- package/packs/full-harness/rendered/.claude/agents/django-build-resolver.md +243 -0
- package/packs/full-harness/rendered/.claude/agents/django-reviewer.md +149 -0
- package/packs/full-harness/rendered/.claude/agents/doc-updater.md +107 -0
- package/packs/full-harness/rendered/.claude/agents/docs-lookup.md +64 -0
- package/packs/full-harness/rendered/.claude/agents/e2e-runner.md +107 -0
- package/packs/full-harness/rendered/.claude/agents/fastapi-reviewer.md +68 -0
- package/packs/full-harness/rendered/.claude/agents/flutter-reviewer.md +241 -0
- package/packs/full-harness/rendered/.claude/agents/fsharp-reviewer.md +92 -0
- package/packs/full-harness/rendered/.claude/agents/gan-evaluator.md +206 -0
- package/packs/full-harness/rendered/.claude/agents/gan-generator.md +128 -0
- package/packs/full-harness/rendered/.claude/agents/gan-planner.md +96 -0
- package/packs/full-harness/rendered/.claude/agents/go-build-resolver.md +94 -0
- package/packs/full-harness/rendered/.claude/agents/go-reviewer.md +68 -0
- package/packs/full-harness/rendered/.claude/agents/harmonyos-app-resolver.md +173 -0
- package/packs/full-harness/rendered/.claude/agents/harness-optimizer.md +32 -0
- package/packs/full-harness/rendered/.claude/agents/healthcare-reviewer.md +83 -0
- package/packs/full-harness/rendered/.claude/agents/homelab-architect.md +94 -0
- package/packs/full-harness/rendered/.claude/agents/java-build-resolver.md +266 -0
- package/packs/full-harness/rendered/.claude/agents/java-reviewer.md +179 -0
- package/packs/full-harness/rendered/.claude/agents/kotlin-build-resolver.md +118 -0
- package/packs/full-harness/rendered/.claude/agents/kotlin-reviewer.md +157 -0
- package/packs/full-harness/rendered/.claude/agents/loop-operator.md +33 -0
- package/packs/full-harness/rendered/.claude/agents/marketing-agent.md +141 -0
- package/packs/full-harness/rendered/.claude/agents/mle-reviewer.md +153 -0
- package/packs/full-harness/rendered/.claude/agents/network-architect.md +92 -0
- package/packs/full-harness/rendered/.claude/agents/network-config-reviewer.md +94 -0
- package/packs/full-harness/rendered/.claude/agents/network-troubleshooter.md +116 -0
- package/packs/full-harness/rendered/.claude/agents/opensource-forker.md +198 -0
- package/packs/full-harness/rendered/.claude/agents/opensource-packager.md +249 -0
- package/packs/full-harness/rendered/.claude/agents/opensource-sanitizer.md +188 -0
- package/packs/full-harness/rendered/.claude/agents/performance-optimizer.md +446 -0
- package/packs/full-harness/rendered/.claude/agents/php-reviewer.md +92 -0
- package/packs/full-harness/rendered/.claude/agents/planner.md +210 -0
- package/packs/full-harness/rendered/.claude/agents/pr-test-analyzer.md +45 -0
- package/packs/full-harness/rendered/.claude/agents/python-reviewer.md +90 -0
- package/packs/full-harness/rendered/.claude/agents/pytorch-build-resolver.md +120 -0
- package/packs/full-harness/rendered/.claude/agents/react-build-resolver.md +206 -0
- package/packs/full-harness/rendered/.claude/agents/react-reviewer.md +156 -0
- package/packs/full-harness/rendered/.claude/agents/refactor-cleaner.md +85 -0
- package/packs/full-harness/rendered/.claude/agents/rust-build-resolver.md +148 -0
- package/packs/full-harness/rendered/.claude/agents/rust-reviewer.md +85 -0
- package/packs/full-harness/rendered/.claude/agents/security-reviewer.md +108 -0
- package/packs/full-harness/rendered/.claude/agents/seo-specialist.md +54 -0
- package/packs/full-harness/rendered/.claude/agents/silent-failure-hunter.md +50 -0
- package/packs/full-harness/rendered/.claude/agents/spec-miner.md +207 -0
- package/packs/full-harness/rendered/.claude/agents/swift-build-resolver.md +161 -0
- package/packs/full-harness/rendered/.claude/agents/swift-reviewer.md +98 -0
- package/packs/full-harness/rendered/.claude/agents/tdd-guide.md +89 -0
- package/packs/full-harness/rendered/.claude/agents/type-design-analyzer.md +41 -0
- package/packs/full-harness/rendered/.claude/agents/typescript-reviewer.md +96 -0
- package/packs/full-harness/rendered/.claude/agents/vue-reviewer.md +195 -0
- package/packs/full-harness/rendered/.claude/commands/aside.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/auto-update.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/build-fix.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/checkpoint.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/code-review.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/cost-report.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/cpp-build.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/cpp-review.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/cpp-test.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/ecc-guide.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/epic-claim.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/epic-decompose.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/epic-publish.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/epic-review.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/epic-sync.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/epic-unblock.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/epic-validate.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/evolve.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/fastapi-review.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/feature-dev.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/flutter-build.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/flutter-review.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/flutter-test.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/gan-build.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/gan-design.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/go-build.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/go-review.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/go-test.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/gradle-build.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/harness-audit.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/hookify-configure.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/hookify-help.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/hookify-list.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/hookify.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/instinct-export.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/instinct-import.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/instinct-status.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/jira.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/kotlin-build.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/kotlin-review.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/kotlin-test.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/learn-eval.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/learn.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/loop-start.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/loop-status.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/marketing-campaign.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/model-route.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/multi-backend.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/multi-execute.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/multi-frontend.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/multi-plan.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/multi-workflow.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/orch-add-feature.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/orch-build-mvp.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/orch-change-feature.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/orch-fix-defect.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/orch-refine-code.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/orch-review.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/plan-canvas.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/plan-prd.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/plan.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/pm2.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/pr.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/project-init.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/projects.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/promote.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/prp-commit.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/prp-implement.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/prp-plan.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/prp-pr.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/prp-prd.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/prune.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/python-review.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/quality-gate.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/react-build.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/react-review.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/react-test.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/refactor-clean.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/resume-session.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/review-pr.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/rust-build.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/rust-review.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/rust-test.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/santa-loop.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/save-session.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/security-scan.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/sessions.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/setup-pm.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/skill-create.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/skill-health.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/test-coverage.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/update-codemaps.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/update-docs.md +6 -0
- package/packs/full-harness/rendered/.claude/commands/vue-review.md +6 -0
- package/packs/full-harness/rendered/.claude/skills/accessibility/SKILL.md +144 -0
- package/packs/full-harness/rendered/.claude/skills/agent-architecture-audit/SKILL.md +254 -0
- package/packs/full-harness/rendered/.claude/skills/agent-eval/SKILL.md +143 -0
- package/packs/full-harness/rendered/.claude/skills/agent-harness-construction/SKILL.md +72 -0
- package/packs/full-harness/rendered/.claude/skills/agent-introspection-debugging/SKILL.md +152 -0
- package/packs/full-harness/rendered/.claude/skills/agent-payment-x402/SKILL.md +223 -0
- package/packs/full-harness/rendered/.claude/skills/agent-self-evaluation/SKILL.md +181 -0
- package/packs/full-harness/rendered/.claude/skills/agent-sort/SKILL.md +214 -0
- package/packs/full-harness/rendered/.claude/skills/agentic-engineering/SKILL.md +62 -0
- package/packs/full-harness/rendered/.claude/skills/agentic-os/SKILL.md +386 -0
- package/packs/full-harness/rendered/.claude/skills/ai-first-engineering/SKILL.md +50 -0
- package/packs/full-harness/rendered/.claude/skills/ai-regression-testing/SKILL.md +384 -0
- package/packs/full-harness/rendered/.claude/skills/android-clean-architecture/SKILL.md +338 -0
- package/packs/full-harness/rendered/.claude/skills/angular-developer/SKILL.md +153 -0
- package/packs/full-harness/rendered/.claude/skills/api-connector-builder/SKILL.md +118 -0
- package/packs/full-harness/rendered/.claude/skills/api-design/SKILL.md +522 -0
- package/packs/full-harness/rendered/.claude/skills/architecture-decision-records/SKILL.md +178 -0
- package/packs/full-harness/rendered/.claude/skills/article-writing/SKILL.md +78 -0
- package/packs/full-harness/rendered/.claude/skills/automation-audit-ops/SKILL.md +141 -0
- package/packs/full-harness/rendered/.claude/skills/autonomous-agent-harness/SKILL.md +272 -0
- package/packs/full-harness/rendered/.claude/skills/autonomous-loops/SKILL.md +609 -0
- package/packs/full-harness/rendered/.claude/skills/backend-patterns/SKILL.md +560 -0
- package/packs/full-harness/rendered/.claude/skills/benchmark/SKILL.md +92 -0
- package/packs/full-harness/rendered/.claude/skills/benchmark-methodology/SKILL.md +185 -0
- package/packs/full-harness/rendered/.claude/skills/benchmark-optimization-loop/SKILL.md +67 -0
- package/packs/full-harness/rendered/.claude/skills/blender-motion-state-inspection/SKILL.md +162 -0
- package/packs/full-harness/rendered/.claude/skills/blueprint/SKILL.md +95 -0
- package/packs/full-harness/rendered/.claude/skills/brand-discovery/SKILL.md +140 -0
- package/packs/full-harness/rendered/.claude/skills/brand-voice/SKILL.md +96 -0
- package/packs/full-harness/rendered/.claude/skills/browser-qa/SKILL.md +103 -0
- package/packs/full-harness/rendered/.claude/skills/bun-runtime/SKILL.md +83 -0
- package/packs/full-harness/rendered/.claude/skills/canary-watch/SKILL.md +106 -0
- package/packs/full-harness/rendered/.claude/skills/carrier-relationship-management/SKILL.md +198 -0
- package/packs/full-harness/rendered/.claude/skills/cisco-ios-patterns/SKILL.md +162 -0
- package/packs/full-harness/rendered/.claude/skills/ck/SKILL.md +143 -0
- package/packs/full-harness/rendered/.claude/skills/claude-devfleet/SKILL.md +110 -0
- package/packs/full-harness/rendered/.claude/skills/click-path-audit/SKILL.md +243 -0
- package/packs/full-harness/rendered/.claude/skills/clickhouse-io/SKILL.md +443 -0
- package/packs/full-harness/rendered/.claude/skills/code-tour/SKILL.md +252 -0
- package/packs/full-harness/rendered/.claude/skills/codebase-onboarding/SKILL.md +232 -0
- package/packs/full-harness/rendered/.claude/skills/codehealth-mcp/SKILL.md +165 -0
- package/packs/full-harness/rendered/.claude/skills/coding-standards/SKILL.md +549 -0
- package/packs/full-harness/rendered/.claude/skills/competitive-platform-analysis/SKILL.md +209 -0
- package/packs/full-harness/rendered/.claude/skills/competitive-report-structure/SKILL.md +157 -0
- package/packs/full-harness/rendered/.claude/skills/compose-multiplatform-patterns/SKILL.md +298 -0
- package/packs/full-harness/rendered/.claude/skills/config-gc/SKILL.md +118 -0
- package/packs/full-harness/rendered/.claude/skills/configure-ecc/SKILL.md +383 -0
- package/packs/full-harness/rendered/.claude/skills/connections-optimizer/SKILL.md +188 -0
- package/packs/full-harness/rendered/.claude/skills/content-engine/SKILL.md +130 -0
- package/packs/full-harness/rendered/.claude/skills/content-hash-cache-pattern/SKILL.md +160 -0
- package/packs/full-harness/rendered/.claude/skills/context-budget/SKILL.md +134 -0
- package/packs/full-harness/rendered/.claude/skills/continuous-agent-loop/SKILL.md +44 -0
- package/packs/full-harness/rendered/.claude/skills/continuous-learning/SKILL.md +130 -0
- package/packs/full-harness/rendered/.claude/skills/continuous-learning-v2/SKILL.md +358 -0
- package/packs/full-harness/rendered/.claude/skills/cost-aware-llm-pipeline/SKILL.md +182 -0
- package/packs/full-harness/rendered/.claude/skills/cost-tracking/SKILL.md +95 -0
- package/packs/full-harness/rendered/.claude/skills/council/SKILL.md +202 -0
- package/packs/full-harness/rendered/.claude/skills/cpp-coding-standards/SKILL.md +722 -0
- package/packs/full-harness/rendered/.claude/skills/cpp-testing/SKILL.md +323 -0
- package/packs/full-harness/rendered/.claude/skills/crosspost/SKILL.md +110 -0
- package/packs/full-harness/rendered/.claude/skills/csharp-testing/SKILL.md +320 -0
- package/packs/full-harness/rendered/.claude/skills/customer-billing-ops/SKILL.md +139 -0
- package/packs/full-harness/rendered/.claude/skills/customs-trade-compliance/SKILL.md +248 -0
- package/packs/full-harness/rendered/.claude/skills/dart-flutter-patterns/SKILL.md +562 -0
- package/packs/full-harness/rendered/.claude/skills/dashboard-builder/SKILL.md +106 -0
- package/packs/full-harness/rendered/.claude/skills/data-scraper-agent/SKILL.md +763 -0
- package/packs/full-harness/rendered/.claude/skills/data-throughput-accelerator/SKILL.md +70 -0
- package/packs/full-harness/rendered/.claude/skills/database-migrations/SKILL.md +428 -0
- package/packs/full-harness/rendered/.claude/skills/deep-research/SKILL.md +158 -0
- package/packs/full-harness/rendered/.claude/skills/defi-amm-security/SKILL.md +164 -0
- package/packs/full-harness/rendered/.claude/skills/delivery-gate/SKILL.md +123 -0
- package/packs/full-harness/rendered/.claude/skills/deployment-patterns/SKILL.md +426 -0
- package/packs/full-harness/rendered/.claude/skills/design-system/SKILL.md +81 -0
- package/packs/full-harness/rendered/.claude/skills/django-celery/SKILL.md +456 -0
- package/packs/full-harness/rendered/.claude/skills/django-patterns/SKILL.md +733 -0
- package/packs/full-harness/rendered/.claude/skills/django-security/SKILL.md +642 -0
- package/packs/full-harness/rendered/.claude/skills/django-tdd/SKILL.md +728 -0
- package/packs/full-harness/rendered/.claude/skills/django-verification/SKILL.md +468 -0
- package/packs/full-harness/rendered/.claude/skills/dmux-workflows/SKILL.md +190 -0
- package/packs/full-harness/rendered/.claude/skills/docker-patterns/SKILL.md +363 -0
- package/packs/full-harness/rendered/.claude/skills/documentation-lookup/SKILL.md +89 -0
- package/packs/full-harness/rendered/.claude/skills/dotnet-patterns/SKILL.md +320 -0
- package/packs/full-harness/rendered/.claude/skills/dynamic-workflow-mode/SKILL.md +122 -0
- package/packs/full-harness/rendered/.claude/skills/e2e-testing/SKILL.md +325 -0
- package/packs/full-harness/rendered/.claude/skills/ecc-guide/SKILL.md +188 -0
- package/packs/full-harness/rendered/.claude/skills/ecc-recipes/SKILL.md +145 -0
- package/packs/full-harness/rendered/.claude/skills/ecc-tools-cost-audit/SKILL.md +159 -0
- package/packs/full-harness/rendered/.claude/skills/email-ops/SKILL.md +120 -0
- package/packs/full-harness/rendered/.claude/skills/energy-procurement/SKILL.md +213 -0
- package/packs/full-harness/rendered/.claude/skills/enterprise-agent-ops/SKILL.md +49 -0
- package/packs/full-harness/rendered/.claude/skills/error-handling/SKILL.md +375 -0
- package/packs/full-harness/rendered/.claude/skills/eval-harness/SKILL.md +268 -0
- package/packs/full-harness/rendered/.claude/skills/evm-token-decimals/SKILL.md +128 -0
- package/packs/full-harness/rendered/.claude/skills/exa-search/SKILL.md +106 -0
- package/packs/full-harness/rendered/.claude/skills/fal-ai-media/SKILL.md +287 -0
- package/packs/full-harness/rendered/.claude/skills/fastapi-patterns/SKILL.md +512 -0
- package/packs/full-harness/rendered/.claude/skills/finance-billing-ops/SKILL.md +126 -0
- package/packs/full-harness/rendered/.claude/skills/flox-environments/SKILL.md +495 -0
- package/packs/full-harness/rendered/.claude/skills/flutter-dart-code-review/SKILL.md +434 -0
- package/packs/full-harness/rendered/.claude/skills/foundation-models-on-device/SKILL.md +243 -0
- package/packs/full-harness/rendered/.claude/skills/frontend-a11y/SKILL.md +441 -0
- package/packs/full-harness/rendered/.claude/skills/frontend-design-direction/SKILL.md +91 -0
- package/packs/full-harness/rendered/.claude/skills/frontend-patterns/SKILL.md +655 -0
- package/packs/full-harness/rendered/.claude/skills/frontend-slides/SKILL.md +183 -0
- package/packs/full-harness/rendered/.claude/skills/fsharp-testing/SKILL.md +279 -0
- package/packs/full-harness/rendered/.claude/skills/gan-style-harness/SKILL.md +276 -0
- package/packs/full-harness/rendered/.claude/skills/gateguard/SKILL.md +131 -0
- package/packs/full-harness/rendered/.claude/skills/generating-python-installer/SKILL.md +820 -0
- package/packs/full-harness/rendered/.claude/skills/gget/SKILL.md +165 -0
- package/packs/full-harness/rendered/.claude/skills/git-workflow/SKILL.md +714 -0
- package/packs/full-harness/rendered/.claude/skills/github-ops/SKILL.md +143 -0
- package/packs/full-harness/rendered/.claude/skills/golang-patterns/SKILL.md +674 -0
- package/packs/full-harness/rendered/.claude/skills/golang-testing/SKILL.md +719 -0
- package/packs/full-harness/rendered/.claude/skills/google-workspace-ops/SKILL.md +94 -0
- package/packs/full-harness/rendered/.claude/skills/growth-log/SKILL.md +125 -0
- package/packs/full-harness/rendered/.claude/skills/healthcare-cdss-patterns/SKILL.md +243 -0
- package/packs/full-harness/rendered/.claude/skills/healthcare-emr-patterns/SKILL.md +157 -0
- package/packs/full-harness/rendered/.claude/skills/healthcare-eval-harness/SKILL.md +205 -0
- package/packs/full-harness/rendered/.claude/skills/healthcare-phi-compliance/SKILL.md +143 -0
- package/packs/full-harness/rendered/.claude/skills/hermes-imports/SKILL.md +87 -0
- package/packs/full-harness/rendered/.claude/skills/hexagonal-architecture/SKILL.md +275 -0
- package/packs/full-harness/rendered/.claude/skills/hipaa-compliance/SKILL.md +76 -0
- package/packs/full-harness/rendered/.claude/skills/homelab-network-readiness/SKILL.md +168 -0
- package/packs/full-harness/rendered/.claude/skills/homelab-network-setup/SKILL.md +128 -0
- package/packs/full-harness/rendered/.claude/skills/homelab-pihole-dns/SKILL.md +273 -0
- package/packs/full-harness/rendered/.claude/skills/homelab-vlan-segmentation/SKILL.md +310 -0
- package/packs/full-harness/rendered/.claude/skills/homelab-wireguard-vpn/SKILL.md +304 -0
- package/packs/full-harness/rendered/.claude/skills/hookify-rules/SKILL.md +128 -0
- package/packs/full-harness/rendered/.claude/skills/inherit-legacy-style/SKILL.md +154 -0
- package/packs/full-harness/rendered/.claude/skills/intent-driven-development/SKILL.md +360 -0
- package/packs/full-harness/rendered/.claude/skills/inventory-demand-planning/SKILL.md +232 -0
- package/packs/full-harness/rendered/.claude/skills/investor-materials/SKILL.md +95 -0
- package/packs/full-harness/rendered/.claude/skills/investor-outreach/SKILL.md +90 -0
- package/packs/full-harness/rendered/.claude/skills/ios-icon-gen/SKILL.md +156 -0
- package/packs/full-harness/rendered/.claude/skills/iterative-retrieval/SKILL.md +210 -0
- package/packs/full-harness/rendered/.claude/skills/ito-basket-compare/SKILL.md +62 -0
- package/packs/full-harness/rendered/.claude/skills/ito-data-atlas-agent/SKILL.md +62 -0
- package/packs/full-harness/rendered/.claude/skills/ito-market-intelligence/SKILL.md +59 -0
- package/packs/full-harness/rendered/.claude/skills/ito-trade-planner/SKILL.md +66 -0
- package/packs/full-harness/rendered/.claude/skills/java-coding-standards/SKILL.md +382 -0
- package/packs/full-harness/rendered/.claude/skills/jira-integration/SKILL.md +301 -0
- package/packs/full-harness/rendered/.claude/skills/jpa-patterns/SKILL.md +150 -0
- package/packs/full-harness/rendered/.claude/skills/knowledge-ops/SKILL.md +153 -0
- package/packs/full-harness/rendered/.claude/skills/kotlin-coroutines-flows/SKILL.md +283 -0
- package/packs/full-harness/rendered/.claude/skills/kotlin-exposed-patterns/SKILL.md +718 -0
- package/packs/full-harness/rendered/.claude/skills/kotlin-ktor-patterns/SKILL.md +688 -0
- package/packs/full-harness/rendered/.claude/skills/kotlin-patterns/SKILL.md +710 -0
- package/packs/full-harness/rendered/.claude/skills/kotlin-testing/SKILL.md +823 -0
- package/packs/full-harness/rendered/.claude/skills/kubernetes-patterns/SKILL.md +754 -0
- package/packs/full-harness/rendered/.claude/skills/laravel-patterns/SKILL.md +414 -0
- package/packs/full-harness/rendered/.claude/skills/laravel-plugin-discovery/SKILL.md +228 -0
- package/packs/full-harness/rendered/.claude/skills/laravel-security/SKILL.md +946 -0
- package/packs/full-harness/rendered/.claude/skills/laravel-tdd/SKILL.md +673 -0
- package/packs/full-harness/rendered/.claude/skills/laravel-verification/SKILL.md +178 -0
- package/packs/full-harness/rendered/.claude/skills/latency-critical-systems/SKILL.md +71 -0
- package/packs/full-harness/rendered/.claude/skills/lead-intelligence/SKILL.md +320 -0
- package/packs/full-harness/rendered/.claude/skills/liquid-glass-design/SKILL.md +279 -0
- package/packs/full-harness/rendered/.claude/skills/literature-review/SKILL.md +191 -0
- package/packs/full-harness/rendered/.claude/skills/llm-trading-agent-security/SKILL.md +144 -0
- package/packs/full-harness/rendered/.claude/skills/logistics-exception-management/SKILL.md +208 -0
- package/packs/full-harness/rendered/.claude/skills/loop-design-check/SKILL.md +141 -0
- package/packs/full-harness/rendered/.claude/skills/mailtrap-email-integration/SKILL.md +76 -0
- package/packs/full-harness/rendered/.claude/skills/make-interfaces-feel-better/SKILL.md +150 -0
- package/packs/full-harness/rendered/.claude/skills/manim-video/SKILL.md +88 -0
- package/packs/full-harness/rendered/.claude/skills/market-research/SKILL.md +74 -0
- package/packs/full-harness/rendered/.claude/skills/marketing-campaign/SKILL.md +112 -0
- package/packs/full-harness/rendered/.claude/skills/mcp-server-patterns/SKILL.md +68 -0
- package/packs/full-harness/rendered/.claude/skills/messages-ops/SKILL.md +103 -0
- package/packs/full-harness/rendered/.claude/skills/ml-adoption-playbook/SKILL.md +56 -0
- package/packs/full-harness/rendered/.claude/skills/mle-workflow/SKILL.md +345 -0
- package/packs/full-harness/rendered/.claude/skills/motion-advanced/SKILL.md +592 -0
- package/packs/full-harness/rendered/.claude/skills/motion-foundations/SKILL.md +295 -0
- package/packs/full-harness/rendered/.claude/skills/motion-patterns/SKILL.md +430 -0
- package/packs/full-harness/rendered/.claude/skills/motion-ui/SKILL.md +574 -0
- package/packs/full-harness/rendered/.claude/skills/mysql-patterns/SKILL.md +411 -0
- package/packs/full-harness/rendered/.claude/skills/nanoclaw-repl/SKILL.md +32 -0
- package/packs/full-harness/rendered/.claude/skills/nestjs-patterns/SKILL.md +229 -0
- package/packs/full-harness/rendered/.claude/skills/netmiko-ssh-automation/SKILL.md +172 -0
- package/packs/full-harness/rendered/.claude/skills/network-bgp-diagnostics/SKILL.md +166 -0
- package/packs/full-harness/rendered/.claude/skills/network-config-validation/SKILL.md +209 -0
- package/packs/full-harness/rendered/.claude/skills/network-interface-health/SKILL.md +151 -0
- package/packs/full-harness/rendered/.claude/skills/nextjs-turbopack/SKILL.md +56 -0
- package/packs/full-harness/rendered/.claude/skills/nodejs-keccak256/SKILL.md +100 -0
- package/packs/full-harness/rendered/.claude/skills/nutrient-document-processing/SKILL.md +166 -0
- package/packs/full-harness/rendered/.claude/skills/nuxt4-patterns/SKILL.md +99 -0
- package/packs/full-harness/rendered/.claude/skills/openclaw-persona-forge/SKILL.md +287 -0
- package/packs/full-harness/rendered/.claude/skills/opensource-pipeline/SKILL.md +254 -0
- package/packs/full-harness/rendered/.claude/skills/orch-add-feature/SKILL.md +43 -0
- package/packs/full-harness/rendered/.claude/skills/orch-build-mvp/SKILL.md +47 -0
- package/packs/full-harness/rendered/.claude/skills/orch-change-feature/SKILL.md +41 -0
- package/packs/full-harness/rendered/.claude/skills/orch-fix-defect/SKILL.md +41 -0
- package/packs/full-harness/rendered/.claude/skills/orch-pipeline/SKILL.md +119 -0
- package/packs/full-harness/rendered/.claude/skills/orch-refine-code/SKILL.md +42 -0
- package/packs/full-harness/rendered/.claude/skills/parallel-execution-optimizer/SKILL.md +70 -0
- package/packs/full-harness/rendered/.claude/skills/perl-patterns/SKILL.md +503 -0
- package/packs/full-harness/rendered/.claude/skills/perl-security/SKILL.md +502 -0
- package/packs/full-harness/rendered/.claude/skills/perl-testing/SKILL.md +474 -0
- package/packs/full-harness/rendered/.claude/skills/plan-canvas/SKILL.md +150 -0
- package/packs/full-harness/rendered/.claude/skills/plan-orchestrate/SKILL.md +261 -0
- package/packs/full-harness/rendered/.claude/skills/plankton-code-quality/SKILL.md +235 -0
- package/packs/full-harness/rendered/.claude/skills/postgres-patterns/SKILL.md +146 -0
- package/packs/full-harness/rendered/.claude/skills/prediction-market-oracle-research/SKILL.md +62 -0
- package/packs/full-harness/rendered/.claude/skills/prediction-market-risk-review/SKILL.md +59 -0
- package/packs/full-harness/rendered/.claude/skills/prisma-patterns/SKILL.md +399 -0
- package/packs/full-harness/rendered/.claude/skills/product-capability/SKILL.md +140 -0
- package/packs/full-harness/rendered/.claude/skills/product-lens/SKILL.md +91 -0
- package/packs/full-harness/rendered/.claude/skills/production-audit/SKILL.md +205 -0
- package/packs/full-harness/rendered/.claude/skills/production-scheduling/SKILL.md +223 -0
- package/packs/full-harness/rendered/.claude/skills/project-flow-ops/SKILL.md +110 -0
- package/packs/full-harness/rendered/.claude/skills/prompt-optimizer/SKILL.md +383 -0
- package/packs/full-harness/rendered/.claude/skills/pubmed-database/SKILL.md +174 -0
- package/packs/full-harness/rendered/.claude/skills/python-patterns/SKILL.md +749 -0
- package/packs/full-harness/rendered/.claude/skills/python-testing/SKILL.md +815 -0
- package/packs/full-harness/rendered/.claude/skills/pytorch-patterns/SKILL.md +395 -0
- package/packs/full-harness/rendered/.claude/skills/quality-nonconformance/SKILL.md +245 -0
- package/packs/full-harness/rendered/.claude/skills/quarkus-patterns/SKILL.md +721 -0
- package/packs/full-harness/rendered/.claude/skills/quarkus-security/SKILL.md +466 -0
- package/packs/full-harness/rendered/.claude/skills/quarkus-tdd/SKILL.md +810 -0
- package/packs/full-harness/rendered/.claude/skills/quarkus-verification/SKILL.md +478 -0
- package/packs/full-harness/rendered/.claude/skills/ralphinho-rfc-pipeline/SKILL.md +66 -0
- package/packs/full-harness/rendered/.claude/skills/react-native-patterns/SKILL.md +325 -0
- package/packs/full-harness/rendered/.claude/skills/react-patterns/SKILL.md +340 -0
- package/packs/full-harness/rendered/.claude/skills/react-performance/SKILL.md +573 -0
- package/packs/full-harness/rendered/.claude/skills/react-testing/SKILL.md +422 -0
- package/packs/full-harness/rendered/.claude/skills/recsys-pipeline-architect/SKILL.md +113 -0
- package/packs/full-harness/rendered/.claude/skills/recursive-decision-ledger/SKILL.md +77 -0
- package/packs/full-harness/rendered/.claude/skills/redis-patterns/SKILL.md +402 -0
- package/packs/full-harness/rendered/.claude/skills/regex-vs-llm-structured-text/SKILL.md +219 -0
- package/packs/full-harness/rendered/.claude/skills/remotion-video-creation/SKILL.md +41 -0
- package/packs/full-harness/rendered/.claude/skills/repo-scan/SKILL.md +77 -0
- package/packs/full-harness/rendered/.claude/skills/research-ops/SKILL.md +111 -0
- package/packs/full-harness/rendered/.claude/skills/returns-reverse-logistics/SKILL.md +225 -0
- package/packs/full-harness/rendered/.claude/skills/rules-distill/SKILL.md +263 -0
- package/packs/full-harness/rendered/.claude/skills/rust-patterns/SKILL.md +498 -0
- package/packs/full-harness/rendered/.claude/skills/rust-testing/SKILL.md +499 -0
- package/packs/full-harness/rendered/.claude/skills/safety-guard/SKILL.md +74 -0
- package/packs/full-harness/rendered/.claude/skills/santa-method/SKILL.md +305 -0
- package/packs/full-harness/rendered/.claude/skills/scholar-evaluation/SKILL.md +159 -0
- package/packs/full-harness/rendered/.claude/skills/search-first/SKILL.md +181 -0
- package/packs/full-harness/rendered/.claude/skills/security-bounty-hunter/SKILL.md +97 -0
- package/packs/full-harness/rendered/.claude/skills/security-review/SKILL.md +502 -0
- package/packs/full-harness/rendered/.claude/skills/security-scan/SKILL.md +164 -0
- package/packs/full-harness/rendered/.claude/skills/seo/SKILL.md +153 -0
- package/packs/full-harness/rendered/.claude/skills/skill-comply/SKILL.md +56 -0
- package/packs/full-harness/rendered/.claude/skills/skill-scout/SKILL.md +139 -0
- package/packs/full-harness/rendered/.claude/skills/skill-stocktake/SKILL.md +193 -0
- package/packs/full-harness/rendered/.claude/skills/social-graph-ranker/SKILL.md +153 -0
- package/packs/full-harness/rendered/.claude/skills/social-publisher/SKILL.md +128 -0
- package/packs/full-harness/rendered/.claude/skills/springboot-patterns/SKILL.md +313 -0
- package/packs/full-harness/rendered/.claude/skills/springboot-security/SKILL.md +271 -0
- package/packs/full-harness/rendered/.claude/skills/springboot-tdd/SKILL.md +157 -0
- package/packs/full-harness/rendered/.claude/skills/springboot-verification/SKILL.md +230 -0
- package/packs/full-harness/rendered/.claude/skills/strategic-compact/SKILL.md +136 -0
- package/packs/full-harness/rendered/.claude/skills/swift-actor-persistence/SKILL.md +142 -0
- package/packs/full-harness/rendered/.claude/skills/swift-concurrency-6-2/SKILL.md +216 -0
- package/packs/full-harness/rendered/.claude/skills/swift-protocol-di-testing/SKILL.md +189 -0
- package/packs/full-harness/rendered/.claude/skills/swiftui-patterns/SKILL.md +259 -0
- package/packs/full-harness/rendered/.claude/skills/taste/SKILL.md +263 -0
- package/packs/full-harness/rendered/.claude/skills/tdd-workflow/SKILL.md +580 -0
- package/packs/full-harness/rendered/.claude/skills/team-agent-orchestration/SKILL.md +109 -0
- package/packs/full-harness/rendered/.claude/skills/team-builder/SKILL.md +167 -0
- package/packs/full-harness/rendered/.claude/skills/terminal-ops/SKILL.md +108 -0
- package/packs/full-harness/rendered/.claude/skills/tinystruct-patterns/SKILL.md +277 -0
- package/packs/full-harness/rendered/.claude/skills/token-budget-advisor/SKILL.md +120 -0
- package/packs/full-harness/rendered/.claude/skills/ui-demo/SKILL.md +464 -0
- package/packs/full-harness/rendered/.claude/skills/ui-to-vue/SKILL.md +133 -0
- package/packs/full-harness/rendered/.claude/skills/uncloud/SKILL.md +342 -0
- package/packs/full-harness/rendered/.claude/skills/unified-notifications-ops/SKILL.md +186 -0
- package/packs/full-harness/rendered/.claude/skills/uspto-database/SKILL.md +176 -0
- package/packs/full-harness/rendered/.claude/skills/verification-loop/SKILL.md +126 -0
- package/packs/full-harness/rendered/.claude/skills/video-editing/SKILL.md +309 -0
- package/packs/full-harness/rendered/.claude/skills/videodb/SKILL.md +371 -0
- package/packs/full-harness/rendered/.claude/skills/visa-doc-translate/SKILL.md +117 -0
- package/packs/full-harness/rendered/.claude/skills/vite-patterns/SKILL.md +448 -0
- package/packs/full-harness/rendered/.claude/skills/vue-patterns/SKILL.md +470 -0
- package/packs/full-harness/rendered/.claude/skills/windows-desktop-e2e/SKILL.md +886 -0
- package/packs/full-harness/rendered/.claude/skills/workspace-surface-audit/SKILL.md +124 -0
- package/packs/full-harness/rendered/.claude/skills/x-api/SKILL.md +233 -0
- package/packs/full-harness/rendered/.github/copilot-instructions.md +89529 -0
- package/packs/full-harness/rendered/AGENTS.md +9663 -0
- package/packs/full-harness/rendered/CLAUDE.md +444 -0
- package/packs/full-harness/rendered/GEMINI.md +71959 -0
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: agent-payment-x402
|
|
3
|
+
description: Add x402 payment execution to AI agents with per-task budgets, spending controls, and non-custodial wallets. Supports Base through agentwallet-sdk and X Layer through OKX Payments / OKX Agent Payments Protocol.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Agent Payment Execution (x402)
|
|
7
|
+
|
|
8
|
+
Enable AI agents to make policy-gated payments with built-in spending controls. Uses the x402 HTTP payment protocol and MCP tools so agents can pay for external services, APIs, or other agents without custodial risk.
|
|
9
|
+
|
|
10
|
+
## When to Use
|
|
11
|
+
|
|
12
|
+
Use when: your agent needs to pay for an API call, purchase a service, settle with another agent, enforce per-task spending limits, or manage a non-custodial wallet. Pairs naturally with cost-aware-llm-pipeline and security-review skills.
|
|
13
|
+
|
|
14
|
+
## Decision Tree
|
|
15
|
+
|
|
16
|
+
Choose the integration path based on whether your agent is buying access to a paid API or charging others for one:
|
|
17
|
+
|
|
18
|
+
| Need | Recommended path |
|
|
19
|
+
|------|------------------|
|
|
20
|
+
| Agent pays a 402-gated API on Base or another agentwallet-supported chain | Use `agentwallet-sdk` as an MCP payment server with strict spending policy |
|
|
21
|
+
| Agent pays a 402-gated API on X Layer | Use OKX Agent Payments Protocol from `okx/onchainos-skills`; `okx-x402-payment` is a deprecated legacy alias |
|
|
22
|
+
| TypeScript API charges agents | Use OKX Payments TypeScript seller SDK docs for Express, Hono, Fastify, or Next.js |
|
|
23
|
+
| Go API charges agents | Use OKX Payments Go seller SDK docs for Gin, Echo, or `net/http` |
|
|
24
|
+
| Rust API charges agents | Use OKX Payments Rust seller SDK docs for Axum |
|
|
25
|
+
| Java API charges agents | Use OKX Payments Java seller SDK docs for Spring Boot 2/3, Java EE, or Jakarta |
|
|
26
|
+
| Python API charges agents | Check the current OKX Payments repository before implementation; a Python seller guide may not be available |
|
|
27
|
+
|
|
28
|
+
## Supported Networks
|
|
29
|
+
|
|
30
|
+
- `agentwallet-sdk`: use the package docs to confirm current network coverage before production. Base Sepolia is the safest development default; Base mainnet is the production path called out by the original skill.
|
|
31
|
+
- OKX Payments / X Layer: current seller docs target X Layer (`eip155:196`) and USDT0 settlement. Fetch current SDK docs before generating production code because payment packages and facilitator behavior can change quickly.
|
|
32
|
+
|
|
33
|
+
## How It Works
|
|
34
|
+
|
|
35
|
+
### x402 Protocol
|
|
36
|
+
x402 extends HTTP 402 (Payment Required) into a machine-negotiable flow. When a server returns `402`, the agent's payment tool negotiates price, checks budget, signs a transaction, and retries only inside the policy and confirmation boundary set by the orchestrator.
|
|
37
|
+
|
|
38
|
+
### Spending Controls
|
|
39
|
+
Every payment tool call enforces a `SpendingPolicy`:
|
|
40
|
+
- **Per-task budget** — max spend for a single agent action
|
|
41
|
+
- **Per-session budget** — cumulative limit across an entire session
|
|
42
|
+
- **Allowlisted recipients** — restrict which addresses/services the agent can pay
|
|
43
|
+
- **Rate limits** — max transactions per minute/hour
|
|
44
|
+
|
|
45
|
+
### Non-Custodial Wallets
|
|
46
|
+
Agents hold their own keys via ERC-4337 smart accounts. The orchestrator sets policy before delegation; the agent can only spend within bounds. No pooled funds, no custodial risk.
|
|
47
|
+
|
|
48
|
+
## MCP Integration
|
|
49
|
+
|
|
50
|
+
The payment layer exposes standard MCP tools that slot into any Claude Code or agent harness setup.
|
|
51
|
+
|
|
52
|
+
> **Security note**: Always pin the package version. This tool manages private keys — unpinned `npx` installs introduce supply-chain risk.
|
|
53
|
+
|
|
54
|
+
### Option A: agentwallet-sdk (Base / multi-chain)
|
|
55
|
+
|
|
56
|
+
```json
|
|
57
|
+
{
|
|
58
|
+
"mcpServers": {
|
|
59
|
+
"agentpay": {
|
|
60
|
+
"command": "npx",
|
|
61
|
+
"args": ["agentwallet-sdk@6.0.0"]
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
### Available Tools (agent-callable)
|
|
68
|
+
|
|
69
|
+
| Tool | Purpose |
|
|
70
|
+
|------|---------|
|
|
71
|
+
| `get_balance` | Check agent wallet balance |
|
|
72
|
+
| `send_payment` | Send payment to address or ENS |
|
|
73
|
+
| `check_spending` | Query remaining budget |
|
|
74
|
+
| `list_transactions` | Audit trail of all payments |
|
|
75
|
+
|
|
76
|
+
> **Note**: Spending policy is set by the **orchestrator** before delegating to the agent — not by the agent itself. This prevents agents from escalating their own spending limits. Configure policy via `set_policy` in your orchestration layer or pre-task hook, never as an agent-callable tool.
|
|
77
|
+
|
|
78
|
+
### Option B: OKX Agent Payments Protocol (X Layer)
|
|
79
|
+
|
|
80
|
+
Use this path for X Layer x402, Multi-Party Payment (MPP), session payment, charge, and A2A charge flows.
|
|
81
|
+
|
|
82
|
+
For buyer-side agent flows:
|
|
83
|
+
|
|
84
|
+
1. Install or reference the current `okx/onchainos-skills` repository.
|
|
85
|
+
2. Use `skills/okx-agent-payments-protocol/SKILL.md` as the dispatcher.
|
|
86
|
+
3. Treat `skills/okx-x402-payment/SKILL.md` as a deprecated compatibility alias, not as the canonical skill.
|
|
87
|
+
4. Require explicit user confirmation before wallet status checks or payment actions. Do not hide payment execution behind a generic tool call.
|
|
88
|
+
|
|
89
|
+
For seller-side API flows, fetch the latest language-specific guide before generating code:
|
|
90
|
+
|
|
91
|
+
| Runtime | Current guide |
|
|
92
|
+
|---------|---------------|
|
|
93
|
+
| TypeScript | `https://raw.githubusercontent.com/okx/payments/main/typescript/SELLER.md` |
|
|
94
|
+
| Go | `https://raw.githubusercontent.com/okx/payments/main/go/x402/SELLER.md` |
|
|
95
|
+
| Rust | `https://raw.githubusercontent.com/okx/payments/main/rust/x402/SELLER.md` |
|
|
96
|
+
| Java | `https://raw.githubusercontent.com/okx/payments/main/java/SELLER.md` |
|
|
97
|
+
|
|
98
|
+
Do not copy examples from older docs without checking the current OKX repository. Current OKX guidance uses `okx-agent-payments-protocol` as the dispatcher, and Java seller docs are now available.
|
|
99
|
+
|
|
100
|
+
## Examples
|
|
101
|
+
|
|
102
|
+
### Budget enforcement in an MCP client
|
|
103
|
+
|
|
104
|
+
When building an orchestrator that calls the agentpay MCP server, enforce budgets before dispatching paid tool calls.
|
|
105
|
+
|
|
106
|
+
> **Prerequisites**: Install the package before adding the MCP config — `npx` without `-y` will prompt for confirmation in non-interactive environments, causing the server to hang: `npm install -g agentwallet-sdk@6.0.0`
|
|
107
|
+
|
|
108
|
+
```typescript
|
|
109
|
+
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
|
|
110
|
+
import { StdioClientTransport } from "@modelcontextprotocol/sdk/client/stdio.js";
|
|
111
|
+
|
|
112
|
+
async function main() {
|
|
113
|
+
// 1. Validate credentials before constructing the transport.
|
|
114
|
+
// A missing key must fail immediately — never let the subprocess start without auth.
|
|
115
|
+
const walletKey = process.env.WALLET_PRIVATE_KEY;
|
|
116
|
+
if (!walletKey) {
|
|
117
|
+
throw new Error("WALLET_PRIVATE_KEY is not set — refusing to start payment server");
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
// Connect to the agentpay MCP server via stdio transport.
|
|
121
|
+
// Whitelist only the env vars the server needs — never forward all of process.env
|
|
122
|
+
// to a third-party subprocess that manages private keys.
|
|
123
|
+
const transport = new StdioClientTransport({
|
|
124
|
+
command: "npx",
|
|
125
|
+
args: ["agentwallet-sdk@6.0.0"],
|
|
126
|
+
env: {
|
|
127
|
+
PATH: process.env.PATH ?? "",
|
|
128
|
+
NODE_ENV: process.env.NODE_ENV ?? "production",
|
|
129
|
+
WALLET_PRIVATE_KEY: walletKey,
|
|
130
|
+
},
|
|
131
|
+
});
|
|
132
|
+
const agentpay = new Client({ name: "orchestrator", version: "1.0.0" });
|
|
133
|
+
await agentpay.connect(transport);
|
|
134
|
+
|
|
135
|
+
// 2. Set spending policy before delegating to the agent.
|
|
136
|
+
// Always verify success — a silent failure means no controls are active.
|
|
137
|
+
const policyResult = await agentpay.callTool({
|
|
138
|
+
name: "set_policy",
|
|
139
|
+
arguments: {
|
|
140
|
+
per_task_budget: 0.50,
|
|
141
|
+
per_session_budget: 5.00,
|
|
142
|
+
allowlisted_recipients: ["api.example.com"],
|
|
143
|
+
},
|
|
144
|
+
});
|
|
145
|
+
if (policyResult.isError) {
|
|
146
|
+
throw new Error(
|
|
147
|
+
`Failed to set spending policy — do not delegate: ${JSON.stringify(policyResult.content)}`
|
|
148
|
+
);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
// 3. Use preToolCheck before any paid action
|
|
152
|
+
await preToolCheck(agentpay, 0.01);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
// Pre-tool hook: fail-closed budget enforcement with four distinct error paths.
|
|
156
|
+
async function preToolCheck(agentpay: Client, apiCost: number): Promise<void> {
|
|
157
|
+
// Path 1: Reject invalid input (NaN/Infinity bypass the < comparison)
|
|
158
|
+
if (!Number.isFinite(apiCost) || apiCost < 0) {
|
|
159
|
+
throw new Error(`Invalid apiCost: ${apiCost} — action blocked`);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
// Path 2: Transport/connectivity failure
|
|
163
|
+
let result;
|
|
164
|
+
try {
|
|
165
|
+
result = await agentpay.callTool({ name: "check_spending" });
|
|
166
|
+
} catch (err) {
|
|
167
|
+
throw new Error(`Payment service unreachable — action blocked: ${err}`);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
// Path 3: Tool returned an error (e.g., auth failure, wallet not initialised)
|
|
171
|
+
if (result.isError) {
|
|
172
|
+
throw new Error(
|
|
173
|
+
`check_spending failed — action blocked: ${JSON.stringify(result.content)}`
|
|
174
|
+
);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
// Path 4: Parse and validate the response shape
|
|
178
|
+
let remaining: number;
|
|
179
|
+
try {
|
|
180
|
+
const parsed = JSON.parse(
|
|
181
|
+
(result.content as Array<{ text: string }>)[0].text
|
|
182
|
+
);
|
|
183
|
+
if (!Number.isFinite(parsed?.remaining)) {
|
|
184
|
+
throw new TypeError("missing or non-finite 'remaining' field");
|
|
185
|
+
}
|
|
186
|
+
remaining = parsed.remaining;
|
|
187
|
+
} catch (err) {
|
|
188
|
+
throw new Error(
|
|
189
|
+
`check_spending returned unexpected format — action blocked: ${err}`
|
|
190
|
+
);
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
// Path 5: Budget exceeded
|
|
194
|
+
if (remaining < apiCost) {
|
|
195
|
+
throw new Error(
|
|
196
|
+
`Budget exceeded: need $${apiCost} but only $${remaining} remaining`
|
|
197
|
+
);
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
main().catch((err) => {
|
|
202
|
+
console.error(err);
|
|
203
|
+
process.exitCode = 1;
|
|
204
|
+
});
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
## Best Practices
|
|
208
|
+
|
|
209
|
+
- **Set budgets before delegation**: When spawning sub-agents, attach a SpendingPolicy via your orchestration layer. Never give an agent unlimited spend.
|
|
210
|
+
- **Pin your dependencies**: Always specify an exact version in your MCP config (e.g., `agentwallet-sdk@6.0.0`). Verify package integrity before deploying to production.
|
|
211
|
+
- **Audit trails**: Use `list_transactions` in post-task hooks to log what was spent and why.
|
|
212
|
+
- **Fail closed**: If the payment tool is unreachable, block the paid action — don't fall back to unmetered access.
|
|
213
|
+
- **Pair with security-review**: Payment tools are high-privilege. Apply the same scrutiny as shell access.
|
|
214
|
+
- **Test with testnets first**: Use Base Sepolia for development; switch to Base mainnet for production.
|
|
215
|
+
|
|
216
|
+
## Production Reference
|
|
217
|
+
|
|
218
|
+
- **npm**: [`agentwallet-sdk`](https://www.npmjs.com/package/agentwallet-sdk)
|
|
219
|
+
- **Merged into NVIDIA NeMo Agent Toolkit**: [PR #17](https://github.com/NVIDIA/NeMo-Agent-Toolkit-Examples/pull/17) — x402 payment tool for NVIDIA's agent examples
|
|
220
|
+
- **Protocol spec**: [x402.org](https://x402.org)
|
|
221
|
+
- **OKX Payments SDKs**: [`okx/payments`](https://github.com/okx/payments) — TypeScript, Go, Rust, and Java seller integrations for X Layer x402
|
|
222
|
+
- **OKX Agent Payments Protocol skill**: [`okx/onchainos-skills`](https://github.com/okx/onchainos-skills/tree/main/skills/okx-agent-payments-protocol)
|
|
223
|
+
- **OKX Payments overview**: [web3.okx.com/onchainos/dev-docs/payments/overview](https://web3.okx.com/onchainos/dev-docs/payments/overview)
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: agent-self-evaluation
|
|
3
|
+
description: Use after completing any non-trivial task. The agent self-rates its output on 5 axes — accuracy, completeness, clarity, actionability, conciseness — with concrete evidence per criterion. Produces a structured 1-5 scorecard with specific improvement suggestions.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Agent Self-Evaluation
|
|
7
|
+
|
|
8
|
+
After completing a complex task, the agent pauses to rate its own output against a structured 5-axis rubric. This is NOT a pass/fail gate — it's a deliberate reflection step that catches omissions, flags overconfidence, and surface areas for improvement before the user has to.
|
|
9
|
+
|
|
10
|
+
## When to Activate
|
|
11
|
+
|
|
12
|
+
- After writing code that spans 3+ files or 50+ lines
|
|
13
|
+
- After completing a multi-step workflow (implement → test → review)
|
|
14
|
+
- After a debugging session that involved 3+ attempts
|
|
15
|
+
- After producing a design document, architecture decision, or written analysis
|
|
16
|
+
- When the user asks "how good was that?" or "rate yourself"
|
|
17
|
+
- At the end of any session Stop hook (if configured — see `references/hook-integration.md`)
|
|
18
|
+
|
|
19
|
+
## Core Concepts
|
|
20
|
+
|
|
21
|
+
### The 5 Evaluation Axes
|
|
22
|
+
|
|
23
|
+
| Axis | Question | What it catches |
|
|
24
|
+
|---|---|---|
|
|
25
|
+
| **Accuracy** | Are the facts, claims, and outputs correct? | Hallucinations, wrong API names, incorrect syntax, false statements |
|
|
26
|
+
| **Completeness** | Did it cover everything the user asked for? | Missed edge cases, unhandled error paths, forgotten requirements, skipped subtasks |
|
|
27
|
+
| **Clarity** | Is the explanation understandable and well-structured? | Confusing explanations, jargon without definition, missing context, rambling |
|
|
28
|
+
| **Actionability** | Can the user act on the output immediately? | Vague suggestions, missing steps, "you should X" without showing how, no verification path |
|
|
29
|
+
| **Conciseness** | Did it use the minimum words/tokens needed? | Redundancy, over-explanation, repeating the user's question verbatim, filler content |
|
|
30
|
+
|
|
31
|
+
### Scoring Scale
|
|
32
|
+
|
|
33
|
+
```
|
|
34
|
+
5 — Exceptional: no reasonable improvement possible
|
|
35
|
+
4 — Good: minor nits only, no substantive gaps
|
|
36
|
+
3 — Adequate: meets the request but has a notable weakness on at least one axis
|
|
37
|
+
2 — Weak: has a clear gap that affects usability or correctness
|
|
38
|
+
1 — Poor: fundamentally misses the request or contains significant errors
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### The Evidence Rule
|
|
42
|
+
|
|
43
|
+
Every score below 5 MUST cite specific evidence. A score of 3 cannot just say "could be better" — it must say exactly what is missing or wrong. The mantra: **"Show the gap, don't just name it."**
|
|
44
|
+
|
|
45
|
+
## Workflow
|
|
46
|
+
|
|
47
|
+
### Step 1: Collect the Raw Material
|
|
48
|
+
|
|
49
|
+
Gather what you'll evaluate:
|
|
50
|
+
|
|
51
|
+
```
|
|
52
|
+
- The original user request (read back from conversation)
|
|
53
|
+
- Your final response/output (the deliverable)
|
|
54
|
+
- Any tool outputs that verify correctness (test results, exit codes, lint output)
|
|
55
|
+
- Any user feedback received during the task (corrections, "try again", "that's not right")
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
### Step 2: Score Each Axis Independently
|
|
59
|
+
|
|
60
|
+
Work through the 5 axes one at a time. For each:
|
|
61
|
+
|
|
62
|
+
1. Read the axis question
|
|
63
|
+
2. Find evidence (or lack of evidence) in the output
|
|
64
|
+
3. Assign a score 1-5
|
|
65
|
+
4. If score < 5, write a one-sentence improvement note citing the gap
|
|
66
|
+
|
|
67
|
+
Do NOT average the scores in your head first and then work backwards. Score each axis fresh.
|
|
68
|
+
|
|
69
|
+
### Step 3: Produce the Evaluation Report
|
|
70
|
+
|
|
71
|
+
Use the template from `templates/evaluation-report.md`. The report must include:
|
|
72
|
+
|
|
73
|
+
```
|
|
74
|
+
- One-line summary
|
|
75
|
+
- 5-axis scorecard (score + evidence per axis)
|
|
76
|
+
- Overall score (simple average, rounded to 1 decimal)
|
|
77
|
+
- 1-3 specific improvements ranked by impact
|
|
78
|
+
- Self-check: "Would the user agree with this assessment?"
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
### Step 4: Apply the Improvement
|
|
82
|
+
|
|
83
|
+
If any axis scored 3 or below:
|
|
84
|
+
|
|
85
|
+
1. State what you would do differently
|
|
86
|
+
2. If the gap is fixable in < 30 seconds (missing link, unclear phrasing), fix it now
|
|
87
|
+
3. If the gap requires rework, flag it explicitly: "This axis scored [reason] because [evidence]. Re-running with [specific fix] would likely raise it to [score]."
|
|
88
|
+
|
|
89
|
+
## Code Examples
|
|
90
|
+
|
|
91
|
+
### Example: Good Evaluation (Score 4+)
|
|
92
|
+
|
|
93
|
+
```
|
|
94
|
+
Task: Add retry logic to HTTP client
|
|
95
|
+
|
|
96
|
+
Scorecard:
|
|
97
|
+
Accuracy: 5 — All API calls correct. Verified: retries use
|
|
98
|
+
exponential backoff. No hallucinated methods.
|
|
99
|
+
Completeness: 4 — Covered happy path + 3 error cases. Missing:
|
|
100
|
+
timeout handling for hung connections.
|
|
101
|
+
Clarity: 5 — Code comments explain backoff formula.
|
|
102
|
+
PR description links to incident that motivated this.
|
|
103
|
+
Actionability:5 — Single merge. No follow-up tasks. Tests pass.
|
|
104
|
+
Conciseness: 4 — 47 lines total. The retry loop could be extracted
|
|
105
|
+
into a helper to drop ~8 lines.
|
|
106
|
+
|
|
107
|
+
Overall: 4.6 — One gap (timeout handling). Fix before merging.
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
### Example: Weak Evaluation (Score 2-3)
|
|
111
|
+
|
|
112
|
+
```
|
|
113
|
+
Task: Add retry logic to HTTP client
|
|
114
|
+
|
|
115
|
+
Scorecard:
|
|
116
|
+
Accuracy: 2 — Used urllib3 which doesn't match our
|
|
117
|
+
httpx-based codebase. Wrong library.
|
|
118
|
+
Completeness: 3 — Works for GET. POST/PUT not handled (user
|
|
119
|
+
said "all HTTP requests").
|
|
120
|
+
Clarity: 4 — Code is readable. Good variable names.
|
|
121
|
+
Actionability:2 — "Add tests" mentioned but no test file created.
|
|
122
|
+
User has to write tests before merging.
|
|
123
|
+
Conciseness: 3 — 120 lines. The retry config is duplicated in
|
|
124
|
+
3 places instead of one shared RetryConfig object.
|
|
125
|
+
|
|
126
|
+
Overall: 2.8 — Wrong library used. Needs httpx rewrite.
|
|
127
|
+
Fix accuracy first (switch to httpx), then extend to all
|
|
128
|
+
HTTP methods, then consolidate config.
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
## Anti-Patterns
|
|
132
|
+
|
|
133
|
+
### "Everything is a 5"
|
|
134
|
+
|
|
135
|
+
```
|
|
136
|
+
FAIL: Accuracy: 5 — All good.
|
|
137
|
+
Completeness: 5 — Everything covered.
|
|
138
|
+
Clarity: 5 — Clear.
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
No evidence cited. This is self-congratulation, not evaluation. A real 5 requires proving there's nothing to improve.
|
|
142
|
+
|
|
143
|
+
### Over-penalizing for scope creep
|
|
144
|
+
|
|
145
|
+
```
|
|
146
|
+
FAIL: Completeness: 2 — Didn't handle WebSocket connections or
|
|
147
|
+
gRPC streaming (user didn't ask for these)
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
Only evaluate against what the user actually requested, not what you could have additionally built.
|
|
151
|
+
|
|
152
|
+
### Using the evaluation to re-litigate
|
|
153
|
+
|
|
154
|
+
```
|
|
155
|
+
FAIL: "As I said earlier, this approach is wrong. Score: 1"
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
The evaluation is about the delivered output, not about re-arguing design decisions that were already made. If the approach was wrong, that should have been caught before delivery.
|
|
159
|
+
|
|
160
|
+
### Mixing personal preference with objective gaps
|
|
161
|
+
|
|
162
|
+
```
|
|
163
|
+
FAIL: "Score: 3. I don't like Python decorators."
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
"Don't like" is not evidence. Cite a concrete readability, testability, or correctness concern, or leave the score at 4+.
|
|
167
|
+
|
|
168
|
+
## Best Practices
|
|
169
|
+
|
|
170
|
+
- **Evaluate the output, not the process.** The user cares about what you delivered, not how many iterations you took.
|
|
171
|
+
- **One improvement per weak axis.** Don't list 5 things for one axis — pick the highest-impact gap.
|
|
172
|
+
- **Tie improvements to user impact.** "Missing error handling means the user's API call will crash silently" beats "add error handling."
|
|
173
|
+
- **Be specific about what 'fixed' looks like.** "Re-run with httpx transport configured for retries" beats "fix the library issue."
|
|
174
|
+
- **Use tool outputs as evidence.** If tests passed, cite them. If lint is clean, cite it. Don't guess — grep for the proof.
|
|
175
|
+
- **If you can't find any gaps, try harder.** A perfect score across all 5 axes is rare. Ask: "If I were the user, what would annoy me about this output?"
|
|
176
|
+
|
|
177
|
+
## Related Skills
|
|
178
|
+
|
|
179
|
+
- `agent-eval` — Head-to-head comparison of different coding agents on benchmark tasks
|
|
180
|
+
- `verification-loop` — Systematic verification of outputs against expected results
|
|
181
|
+
- `security-review` — Security-focused code review checklist
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: agent-sort
|
|
3
|
+
description: Build an evidence-backed ECC install plan for a specific repo by sorting skills, commands, rules, hooks, and extras into DAILY vs LIBRARY buckets using parallel repo-aware review passes. Use when ECC should be trimmed to what a project actually needs instead of loading the full bundle.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Agent Sort
|
|
7
|
+
|
|
8
|
+
Use this skill when a repo needs a project-specific ECC surface instead of the default full install.
|
|
9
|
+
|
|
10
|
+
The goal is not to guess what "feels useful." The goal is to classify ECC components with evidence from the actual codebase.
|
|
11
|
+
|
|
12
|
+
## When to Use
|
|
13
|
+
|
|
14
|
+
- A project only needs a subset of ECC and full installs are too noisy
|
|
15
|
+
- The repo stack is clear, but nobody wants to hand-curate skills one by one
|
|
16
|
+
- A team wants a repeatable install decision backed by grep evidence instead of opinion
|
|
17
|
+
- You need to separate always-loaded daily workflow surfaces from searchable library/reference surfaces
|
|
18
|
+
- A repo has drifted into the wrong language, rule, or hook set and needs cleanup
|
|
19
|
+
|
|
20
|
+
## Non-Negotiable Rules
|
|
21
|
+
|
|
22
|
+
- Use the current repository as the source of truth, not generic preferences
|
|
23
|
+
- Every DAILY decision must cite concrete repo evidence
|
|
24
|
+
- LIBRARY does not mean "delete"; it means "keep accessible without loading by default"
|
|
25
|
+
- Do not install hooks, rules, or scripts that the current repo cannot use
|
|
26
|
+
- Prefer ECC-native surfaces; do not introduce a second install system
|
|
27
|
+
|
|
28
|
+
## Outputs
|
|
29
|
+
|
|
30
|
+
Produce these artifacts in order:
|
|
31
|
+
|
|
32
|
+
1. DAILY inventory
|
|
33
|
+
2. LIBRARY inventory
|
|
34
|
+
3. install plan
|
|
35
|
+
4. verification report
|
|
36
|
+
5. optional `skill-library` router if the project wants one
|
|
37
|
+
|
|
38
|
+
## Classification Model
|
|
39
|
+
|
|
40
|
+
Use two buckets only:
|
|
41
|
+
|
|
42
|
+
- `DAILY`
|
|
43
|
+
- should load every session for this repo
|
|
44
|
+
- strongly matched to the repo's language, framework, workflow, or operator surface
|
|
45
|
+
- `LIBRARY`
|
|
46
|
+
- useful to retain, but not worth loading by default
|
|
47
|
+
- should remain reachable through search, router skill, or selective manual use
|
|
48
|
+
|
|
49
|
+
## Evidence Sources
|
|
50
|
+
|
|
51
|
+
Use repo-local evidence before making any classification:
|
|
52
|
+
|
|
53
|
+
- file extensions
|
|
54
|
+
- package managers and lockfiles
|
|
55
|
+
- framework configs
|
|
56
|
+
- CI and hook configs
|
|
57
|
+
- build/test scripts
|
|
58
|
+
- imports and dependency manifests
|
|
59
|
+
- repo docs that explicitly describe the stack
|
|
60
|
+
|
|
61
|
+
Useful commands include:
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
rg --files
|
|
65
|
+
rg -n "typescript|react|next|supabase|django|spring|flutter|swift"
|
|
66
|
+
cat package.json
|
|
67
|
+
cat pyproject.toml
|
|
68
|
+
cat Cargo.toml
|
|
69
|
+
cat pubspec.yaml
|
|
70
|
+
cat go.mod
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
## Parallel Review Passes
|
|
74
|
+
|
|
75
|
+
If parallel subagents are available, split the review into these passes:
|
|
76
|
+
|
|
77
|
+
1. Agents
|
|
78
|
+
- classify `agents/*`
|
|
79
|
+
2. Skills
|
|
80
|
+
- classify `skills/*`
|
|
81
|
+
3. Commands
|
|
82
|
+
- classify `commands/*`
|
|
83
|
+
4. Rules
|
|
84
|
+
- classify `rules/*`
|
|
85
|
+
5. Hooks and scripts
|
|
86
|
+
- classify hook surfaces, MCP health checks, helper scripts, and OS compatibility
|
|
87
|
+
6. Extras
|
|
88
|
+
- classify contexts, examples, MCP configs, templates, and guidance docs
|
|
89
|
+
|
|
90
|
+
If subagents are not available, run the same passes sequentially.
|
|
91
|
+
|
|
92
|
+
## Core Workflow
|
|
93
|
+
|
|
94
|
+
### 1. Read the repo
|
|
95
|
+
|
|
96
|
+
Establish the real stack before classifying anything:
|
|
97
|
+
|
|
98
|
+
- languages in use
|
|
99
|
+
- frameworks in use
|
|
100
|
+
- primary package manager
|
|
101
|
+
- test stack
|
|
102
|
+
- lint/format stack
|
|
103
|
+
- deployment/runtime surface
|
|
104
|
+
- operator integrations already present
|
|
105
|
+
|
|
106
|
+
### 2. Build the evidence table
|
|
107
|
+
|
|
108
|
+
For every candidate surface, record:
|
|
109
|
+
|
|
110
|
+
- component path
|
|
111
|
+
- component type
|
|
112
|
+
- proposed bucket
|
|
113
|
+
- repo evidence
|
|
114
|
+
- short justification
|
|
115
|
+
|
|
116
|
+
Use this format:
|
|
117
|
+
|
|
118
|
+
```text
|
|
119
|
+
skills/frontend-patterns | skill | DAILY | 84 .tsx files, next.config.ts present | core frontend stack
|
|
120
|
+
skills/django-patterns | skill | LIBRARY | no .py files, no pyproject.toml | not active in this repo
|
|
121
|
+
rules/typescript/* | rules | DAILY | package.json + tsconfig.json | active TS repo
|
|
122
|
+
rules/python/* | rules | LIBRARY | zero Python source files | keep accessible only
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
### 3. Decide DAILY vs LIBRARY
|
|
126
|
+
|
|
127
|
+
Promote to `DAILY` when:
|
|
128
|
+
|
|
129
|
+
- the repo clearly uses the matching stack
|
|
130
|
+
- the component is general enough to help every session
|
|
131
|
+
- the repo already depends on the corresponding runtime or workflow
|
|
132
|
+
|
|
133
|
+
Demote to `LIBRARY` when:
|
|
134
|
+
|
|
135
|
+
- the component is off-stack
|
|
136
|
+
- the repo might need it later, but not every day
|
|
137
|
+
- it adds context overhead without immediate relevance
|
|
138
|
+
|
|
139
|
+
### 4. Build the install plan
|
|
140
|
+
|
|
141
|
+
Translate the classification into action:
|
|
142
|
+
|
|
143
|
+
- DAILY skills -> install or keep in `.claude/skills/`
|
|
144
|
+
- DAILY commands -> keep as explicit shims only if still useful
|
|
145
|
+
- DAILY rules -> install only matching language sets
|
|
146
|
+
- DAILY hooks/scripts -> keep only compatible ones
|
|
147
|
+
- LIBRARY surfaces -> keep accessible through search or `skill-library`
|
|
148
|
+
|
|
149
|
+
If the repo already uses selective installs, update that plan instead of creating another system.
|
|
150
|
+
|
|
151
|
+
### 5. Create the optional library router
|
|
152
|
+
|
|
153
|
+
If the project wants a searchable library surface, create:
|
|
154
|
+
|
|
155
|
+
- `.claude/skills/skill-library/SKILL.md`
|
|
156
|
+
|
|
157
|
+
That router should contain:
|
|
158
|
+
|
|
159
|
+
- a short explanation of DAILY vs LIBRARY
|
|
160
|
+
- grouped trigger keywords
|
|
161
|
+
- where the library references live
|
|
162
|
+
|
|
163
|
+
Do not duplicate every skill body inside the router.
|
|
164
|
+
|
|
165
|
+
### 6. Verify the result
|
|
166
|
+
|
|
167
|
+
After the plan is applied, verify:
|
|
168
|
+
|
|
169
|
+
- every DAILY file exists where expected
|
|
170
|
+
- stale language rules were not left active
|
|
171
|
+
- incompatible hooks were not installed
|
|
172
|
+
- the resulting install actually matches the repo stack
|
|
173
|
+
|
|
174
|
+
Return a compact report with:
|
|
175
|
+
|
|
176
|
+
- DAILY count
|
|
177
|
+
- LIBRARY count
|
|
178
|
+
- removed stale surfaces
|
|
179
|
+
- open questions
|
|
180
|
+
|
|
181
|
+
## Handoffs
|
|
182
|
+
|
|
183
|
+
If the next step is interactive installation or repair, hand off to:
|
|
184
|
+
|
|
185
|
+
- `configure-ecc`
|
|
186
|
+
|
|
187
|
+
If the next step is overlap cleanup or catalog review, hand off to:
|
|
188
|
+
|
|
189
|
+
- `skill-stocktake`
|
|
190
|
+
|
|
191
|
+
If the next step is broader context trimming, hand off to:
|
|
192
|
+
|
|
193
|
+
- `strategic-compact`
|
|
194
|
+
|
|
195
|
+
## Output Format
|
|
196
|
+
|
|
197
|
+
Return the result in this order:
|
|
198
|
+
|
|
199
|
+
```text
|
|
200
|
+
STACK
|
|
201
|
+
- language/framework/runtime summary
|
|
202
|
+
|
|
203
|
+
DAILY
|
|
204
|
+
- always-loaded items with evidence
|
|
205
|
+
|
|
206
|
+
LIBRARY
|
|
207
|
+
- searchable/reference items with evidence
|
|
208
|
+
|
|
209
|
+
INSTALL PLAN
|
|
210
|
+
- what should be installed, removed, or routed
|
|
211
|
+
|
|
212
|
+
VERIFICATION
|
|
213
|
+
- checks run and remaining gaps
|
|
214
|
+
```
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: agentic-engineering
|
|
3
|
+
description: Operate as an agentic engineer using eval-first execution, decomposition, and cost-aware model routing.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Agentic Engineering
|
|
7
|
+
|
|
8
|
+
Use this skill for engineering workflows where AI agents perform most implementation work and humans enforce quality and risk controls.
|
|
9
|
+
|
|
10
|
+
## Operating Principles
|
|
11
|
+
|
|
12
|
+
1. Define completion criteria before execution.
|
|
13
|
+
2. Decompose work into agent-sized units.
|
|
14
|
+
3. Route model tiers by task complexity.
|
|
15
|
+
4. Measure with evals and regression checks.
|
|
16
|
+
|
|
17
|
+
## Eval-First Loop
|
|
18
|
+
|
|
19
|
+
1. Define capability eval and regression eval.
|
|
20
|
+
2. Run baseline and capture failure signatures.
|
|
21
|
+
3. Execute implementation.
|
|
22
|
+
4. Re-run evals and compare deltas.
|
|
23
|
+
|
|
24
|
+
## Task Decomposition
|
|
25
|
+
|
|
26
|
+
Apply the 15-minute unit rule:
|
|
27
|
+
- each unit should be independently verifiable
|
|
28
|
+
- each unit should have a single dominant risk
|
|
29
|
+
- each unit should expose a clear done condition
|
|
30
|
+
|
|
31
|
+
## Model Routing
|
|
32
|
+
|
|
33
|
+
- Haiku: classification, boilerplate transforms, narrow edits
|
|
34
|
+
- Sonnet: implementation and refactors
|
|
35
|
+
- Opus: architecture, root-cause analysis, multi-file invariants
|
|
36
|
+
|
|
37
|
+
## Session Strategy
|
|
38
|
+
|
|
39
|
+
- Continue session for closely-coupled units.
|
|
40
|
+
- Start fresh session after major phase transitions.
|
|
41
|
+
- Compact after milestone completion, not during active debugging.
|
|
42
|
+
|
|
43
|
+
## Review Focus for AI-Generated Code
|
|
44
|
+
|
|
45
|
+
Prioritize:
|
|
46
|
+
- invariants and edge cases
|
|
47
|
+
- error boundaries
|
|
48
|
+
- security and auth assumptions
|
|
49
|
+
- hidden coupling and rollout risk
|
|
50
|
+
|
|
51
|
+
Do not waste review cycles on style-only disagreements when automated format/lint already enforce style.
|
|
52
|
+
|
|
53
|
+
## Cost Discipline
|
|
54
|
+
|
|
55
|
+
Track per task:
|
|
56
|
+
- model
|
|
57
|
+
- token estimate
|
|
58
|
+
- retries
|
|
59
|
+
- wall-clock time
|
|
60
|
+
- success/failure
|
|
61
|
+
|
|
62
|
+
Escalate model tier only when lower tier fails with a clear reasoning gap.
|