sfaa 0.2.0__py3-none-any.whl
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.
- sfaa/__init__.py +23 -0
- sfaa/api.py +238 -0
- sfaa/cli.py +166 -0
- sfaa/data/LICENSE +203 -0
- sfaa/data/LICENSE-CONTENT +8 -0
- sfaa/data/agents/ai/agent-orchestration-engineer.md +38 -0
- sfaa/data/agents/ai/ai-agent-safety-engineer.md +48 -0
- sfaa/data/agents/ai/ai-model-risk-analyst.md +48 -0
- sfaa/data/agents/ai/ai-security-engineer.md +38 -0
- sfaa/data/agents/ai/llm-context-engineer.md +52 -0
- sfaa/data/agents/ai/llm-evaluation-engineer.md +48 -0
- sfaa/data/agents/ai/llm-inference-engineer.md +38 -0
- sfaa/data/agents/ai/llm-quantization-engineer.md +52 -0
- sfaa/data/agents/ai/model-serving-engineer.md +46 -0
- sfaa/data/agents/ai/model-serving-reliability-engineer.md +50 -0
- sfaa/data/agents/ai/multimodal-evaluation-engineer.md +55 -0
- sfaa/data/agents/ai/rag-engineer.md +40 -0
- sfaa/data/agents/architecture/cloud-cost-optimization-architect.md +49 -0
- sfaa/data/agents/architecture/cloud-disaster-recovery-architect.md +52 -0
- sfaa/data/agents/architecture/cloud-identity-architect.md +46 -0
- sfaa/data/agents/architecture/cloud-landing-zone-architect.md +52 -0
- sfaa/data/agents/architecture/cloud-network-security-architect.md +49 -0
- sfaa/data/agents/architecture/cloud-solutions-architect.md +38 -0
- sfaa/data/agents/architecture/distributed-systems-architect.md +38 -0
- sfaa/data/agents/architecture/principal-software-architect.md +47 -0
- sfaa/data/agents/architecture/service-mesh-architect.md +48 -0
- sfaa/data/agents/automation/automation-reliability-engineer.md +49 -0
- sfaa/data/agents/automation/automation-security-reviewer.md +51 -0
- sfaa/data/agents/automation/calendar-automation-engineer.md +48 -0
- sfaa/data/agents/automation/data-portability-engineer.md +49 -0
- sfaa/data/agents/automation/document-workflow-automation-engineer.md +48 -0
- sfaa/data/agents/automation/event-driven-automation-engineer.md +49 -0
- sfaa/data/agents/automation/low-code-automation-reviewer.md +49 -0
- sfaa/data/agents/automation/meeting-outcome-facilitator.md +58 -0
- sfaa/data/agents/automation/personal-knowledge-automation-engineer.md +48 -0
- sfaa/data/agents/automation/structured-notes-curator.md +58 -0
- sfaa/data/agents/automation/task-orchestration-engineer.md +50 -0
- sfaa/data/agents/automation/time-audit-analyst.md +59 -0
- sfaa/data/agents/automation/workflow-automation-architect.md +48 -0
- sfaa/data/agents/automation/workflow-observability-engineer.md +49 -0
- sfaa/data/agents/business/customer-research-analyst.md +55 -0
- sfaa/data/agents/business/go-to-market-strategist.md +46 -0
- sfaa/data/agents/business/market-sizing-analyst.md +55 -0
- sfaa/data/agents/business/pricing-experiment-analyst.md +47 -0
- sfaa/data/agents/business/product-analytics-engineer.md +46 -0
- sfaa/data/agents/business/product-discovery-lead.md +47 -0
- sfaa/data/agents/business/product-metrics-strategist.md +55 -0
- sfaa/data/agents/business/technical-program-manager.md +48 -0
- sfaa/data/agents/compilers/compiler-conformance-engineer.md +60 -0
- sfaa/data/agents/compilers/compiler-debug-info-engineer.md +49 -0
- sfaa/data/agents/compilers/compiler-front-end-engineer.md +38 -0
- sfaa/data/agents/compilers/compiler-optimization-engineer.md +38 -0
- sfaa/data/agents/compilers/compiler-validation-engineer.md +64 -0
- sfaa/data/agents/compilers/garbage-collection-engineer.md +38 -0
- sfaa/data/agents/compilers/intermediate-representation-engineer.md +49 -0
- sfaa/data/agents/compilers/language-module-system-engineer.md +49 -0
- sfaa/data/agents/compilers/language-parser-engineer.md +49 -0
- sfaa/data/agents/compilers/language-runtime-engineer.md +38 -0
- sfaa/data/agents/compilers/linker-relocation-engineer.md +55 -0
- sfaa/data/agents/compilers/type-system-engineer.md +38 -0
- sfaa/data/agents/cybersecurity/api-authorization-assessor.md +47 -0
- sfaa/data/agents/cybersecurity/application-security-auditor.md +38 -0
- sfaa/data/agents/cybersecurity/cloud-identity-security-analyst.md +46 -0
- sfaa/data/agents/cybersecurity/cloud-workload-identity-specialist.md +48 -0
- sfaa/data/agents/cybersecurity/container-image-security-auditor.md +48 -0
- sfaa/data/agents/cybersecurity/cryptographic-implementation-reviewer.md +48 -0
- sfaa/data/agents/cybersecurity/defensive-security-reviewer.md +44 -0
- sfaa/data/agents/cybersecurity/detection-engineer.md +66 -0
- sfaa/data/agents/cybersecurity/digital-forensics-investigator.md +68 -0
- sfaa/data/agents/cybersecurity/incident-response-lead.md +38 -0
- sfaa/data/agents/cybersecurity/iot-device-security-assessor.md +50 -0
- sfaa/data/agents/cybersecurity/linux-host-hardening-specialist.md +47 -0
- sfaa/data/agents/cybersecurity/linux-kernel-module-security-reviewer.md +49 -0
- sfaa/data/agents/cybersecurity/malware-analysis-specialist.md +64 -0
- sfaa/data/agents/cybersecurity/memory-forensics-analyst.md +49 -0
- sfaa/data/agents/cybersecurity/network-defense-assessment-analyst.md +49 -0
- sfaa/data/agents/cybersecurity/privacy-engineer.md +47 -0
- sfaa/data/agents/cybersecurity/secrets-management-engineer.md +47 -0
- sfaa/data/agents/cybersecurity/security-forensics-analyst.md +47 -0
- sfaa/data/agents/cybersecurity/software-supply-chain-security-auditor.md +47 -0
- sfaa/data/agents/cybersecurity/threat-modeling-specialist.md +38 -0
- sfaa/data/agents/cybersecurity/vulnerability-researcher.md +65 -0
- sfaa/data/agents/cybersecurity/vulnerability-root-cause-analyst.md +50 -0
- sfaa/data/agents/cybersecurity/web-application-security-engineer.md +39 -0
- sfaa/data/agents/cybersecurity/windows-domain-security-analyst.md +49 -0
- sfaa/data/agents/cybersecurity/windows-event-forensics-analyst.md +49 -0
- sfaa/data/agents/data/data-contract-engineer.md +48 -0
- sfaa/data/agents/data/data-lineage-engineer.md +52 -0
- sfaa/data/agents/data/data-observability-engineer.md +55 -0
- sfaa/data/agents/data/data-platform-engineer.md +38 -0
- sfaa/data/agents/data/data-quality-engineer.md +48 -0
- sfaa/data/agents/data/data-visualization-engineer.md +46 -0
- sfaa/data/agents/data/stream-processing-engineer.md +52 -0
- sfaa/data/agents/database/database-replication-engineer.md +52 -0
- sfaa/data/agents/database/database-workload-analyst.md +52 -0
- sfaa/data/agents/database/online-migration-architect.md +52 -0
- sfaa/data/agents/databases/backup-recovery-engineer.md +38 -0
- sfaa/data/agents/databases/database-architect.md +38 -0
- sfaa/data/agents/databases/database-migration-engineer.md +38 -0
- sfaa/data/agents/databases/database-performance-engineer.md +49 -0
- sfaa/data/agents/databases/database-reliability-engineer.md +43 -0
- sfaa/data/agents/databases/database-schema-reviewer.md +48 -0
- sfaa/data/agents/databases/distributed-database-engineer.md +48 -0
- sfaa/data/agents/databases/sql-performance-engineer.md +47 -0
- sfaa/data/agents/databases/vector-search-engineer.md +38 -0
- sfaa/data/agents/devops/ci-cd-platform-engineer.md +38 -0
- sfaa/data/agents/devops/container-hardening-engineer.md +49 -0
- sfaa/data/agents/devops/container-security-engineer.md +52 -0
- sfaa/data/agents/devops/dependency-maintenance-engineer.md +49 -0
- sfaa/data/agents/devops/gitops-platform-engineer.md +49 -0
- sfaa/data/agents/devops/infrastructure-drift-engineer.md +48 -0
- sfaa/data/agents/devops/kubernetes-scheduling-engineer.md +52 -0
- sfaa/data/agents/devops/release-manager.md +42 -0
- sfaa/data/agents/devops/release-rollback-engineer.md +49 -0
- sfaa/data/agents/devops/secure-update-systems-engineer.md +48 -0
- sfaa/data/agents/devops/software-supply-chain-engineer.md +49 -0
- sfaa/data/agents/documentation/api-documentation-architect.md +55 -0
- sfaa/data/agents/documentation/docs-platform-engineer.md +55 -0
- sfaa/data/agents/documentation/technical-editor.md +55 -0
- sfaa/data/agents/documentation/technical-writer.md +35 -0
- sfaa/data/agents/engineering/codebase-migration-architect.md +48 -0
- sfaa/data/agents/engineering/concurrency-engineer.md +38 -0
- sfaa/data/agents/engineering/debugging-specialist.md +43 -0
- sfaa/data/agents/engineering/distributed-tracing-engineer.md +48 -0
- sfaa/data/agents/engineering/incident-postmortem-facilitator.md +47 -0
- sfaa/data/agents/engineering/observability-engineer.md +48 -0
- sfaa/data/agents/engineering/performance-engineer.md +38 -0
- sfaa/data/agents/engineering/repository-maintainer.md +38 -0
- sfaa/data/agents/engineering/senior-code-reviewer.md +49 -0
- sfaa/data/agents/game/game-integrity-engineer.md +52 -0
- sfaa/data/agents/game/game-simulation-engineer.md +52 -0
- sfaa/data/agents/game-development/game-client-security-engineer.md +48 -0
- sfaa/data/agents/game-development/game-economy-designer.md +46 -0
- sfaa/data/agents/game-development/game-network-engineer.md +50 -0
- sfaa/data/agents/game-development/game-performance-engineer.md +38 -0
- sfaa/data/agents/game-development/game-server-reliability-engineer.md +48 -0
- sfaa/data/agents/ml/machine-learning-engineer.md +40 -0
- sfaa/data/agents/ml/ml-data-quality-engineer.md +55 -0
- sfaa/data/agents/ml/ml-deployment-engineer.md +55 -0
- sfaa/data/agents/ml/ml-experiment-engineer.md +48 -0
- sfaa/data/agents/ml/ml-feature-platform-engineer.md +52 -0
- sfaa/data/agents/ml/ml-reliability-engineer.md +49 -0
- sfaa/data/agents/ml/ml-robustness-engineer.md +48 -0
- sfaa/data/agents/ml/model-monitoring-engineer.md +52 -0
- sfaa/data/agents/mobile/mobile-accessibility-engineer.md +52 -0
- sfaa/data/agents/mobile/mobile-app-security-engineer.md +48 -0
- sfaa/data/agents/mobile/mobile-performance-engineer.md +46 -0
- sfaa/data/agents/mobile/mobile-platform-architect.md +38 -0
- sfaa/data/agents/mobile/mobile-release-engineer.md +49 -0
- sfaa/data/agents/mobile/offline-first-mobile-engineer.md +48 -0
- sfaa/data/agents/mobile/offline-sync-engineer.md +52 -0
- sfaa/data/agents/networking/cloud-finops-engineer.md +55 -0
- sfaa/data/agents/networking/cloud-identity-federation-engineer.md +55 -0
- sfaa/data/agents/networking/cloud-network-resilience-engineer.md +56 -0
- sfaa/data/agents/networking/cloud-observability-engineer.md +55 -0
- sfaa/data/agents/networking/dns-reliability-engineer.md +52 -0
- sfaa/data/agents/networking/ipv6-transition-architect.md +52 -0
- sfaa/data/agents/networking/network-capacity-engineer.md +46 -0
- sfaa/data/agents/networking/network-debugging-specialist.md +38 -0
- sfaa/data/agents/networking/network-protocol-engineer.md +37 -0
- sfaa/data/agents/networking/network-protocol-fuzzing-engineer.md +50 -0
- sfaa/data/agents/networking/network-traffic-analyst.md +47 -0
- sfaa/data/agents/quality/api-contract-test-engineer.md +48 -0
- sfaa/data/agents/quality/api-test-engineer.md +38 -0
- sfaa/data/agents/quality/chaos-engineering-specialist.md +55 -0
- sfaa/data/agents/quality/fuzzing-campaign-engineer.md +55 -0
- sfaa/data/agents/quality/mutation-testing-specialist.md +55 -0
- sfaa/data/agents/quality/performance-test-engineer.md +55 -0
- sfaa/data/agents/quality/property-based-testing-engineer.md +55 -0
- sfaa/data/agents/quality/test-architecture-reviewer.md +55 -0
- sfaa/data/agents/quality/test-data-governance-engineer.md +55 -0
- sfaa/data/agents/research/benchmark-methodology-researcher.md +48 -0
- sfaa/data/agents/research/causal-study-design-researcher.md +55 -0
- sfaa/data/agents/research/numerical-computing-specialist.md +47 -0
- sfaa/data/agents/research/numerical-methods-engineer.md +48 -0
- sfaa/data/agents/research/probabilistic-model-validation-specialist.md +46 -0
- sfaa/data/agents/research/reproducible-experiment-engineer.md +52 -0
- sfaa/data/agents/research/technical-research-analyst.md +48 -0
- sfaa/data/agents/reverse-engineering/android-native-reverse-engineering-specialist.md +50 -0
- sfaa/data/agents/reverse-engineering/assembly-analysis-specialist.md +49 -0
- sfaa/data/agents/reverse-engineering/binary-diff-analysis-specialist.md +50 -0
- sfaa/data/agents/reverse-engineering/debugger-assisted-reverse-engineer.md +49 -0
- sfaa/data/agents/reverse-engineering/dynamic-instrumentation-specialist.md +51 -0
- sfaa/data/agents/reverse-engineering/executable-format-forensics-analyst.md +48 -0
- sfaa/data/agents/reverse-engineering/firmware-boot-chain-analyst.md +49 -0
- sfaa/data/agents/reverse-engineering/firmware-reverse-engineer.md +65 -0
- sfaa/data/agents/reverse-engineering/kernel-driver-reverse-engineer.md +51 -0
- sfaa/data/agents/reverse-engineering/protocol-state-machine-analyst.md +50 -0
- sfaa/data/agents/reverse-engineering/reverse-engineering-specialist.md +64 -0
- sfaa/data/agents/security/container-runtime-security-engineer.md +52 -0
- sfaa/data/agents/security/cryptographic-protocol-reviewer.md +52 -0
- sfaa/data/agents/security/firmware-security-engineer.md +58 -0
- sfaa/data/agents/security/secure-boot-security-engineer.md +52 -0
- sfaa/data/agents/software/api-architect.md +35 -0
- sfaa/data/agents/software/api-idempotency-architect.md +52 -0
- sfaa/data/agents/software/api-versioning-architect.md +48 -0
- sfaa/data/agents/systems/cryptography-integration-engineer.md +38 -0
- sfaa/data/agents/systems/device-driver-engineer.md +38 -0
- sfaa/data/agents/systems/distributed-transaction-engineer.md +48 -0
- sfaa/data/agents/systems/ebpf-observability-engineer.md +52 -0
- sfaa/data/agents/systems/embedded-debugging-engineer.md +49 -0
- sfaa/data/agents/systems/embedded-power-engineer.md +48 -0
- sfaa/data/agents/systems/embedded-systems-engineer.md +38 -0
- sfaa/data/agents/systems/filesystem-recovery-engineer.md +49 -0
- sfaa/data/agents/systems/kernel-concurrency-engineer.md +50 -0
- sfaa/data/agents/systems/kernel-scheduler-engineer.md +46 -0
- sfaa/data/agents/systems/linux-filesystem-engineer.md +38 -0
- sfaa/data/agents/systems/linux-kernel-engineer.md +46 -0
- sfaa/data/agents/systems/memory-allocator-engineer.md +48 -0
- sfaa/data/agents/systems/memory-reclamation-engineer.md +52 -0
- sfaa/data/agents/systems/numa-performance-engineer.md +52 -0
- sfaa/data/agents/systems/real-time-systems-engineer.md +49 -0
- sfaa/data/agents/systems/rust-systems-engineer.md +35 -0
- sfaa/data/agents/systems/virtual-memory-engineer.md +52 -0
- sfaa/data/agents/web/accessibility-engineer.md +53 -0
- sfaa/data/agents/web/api-authentication-engineer.md +48 -0
- sfaa/data/agents/web/api-reliability-engineer.md +48 -0
- sfaa/data/agents/web/browser-storage-security-engineer.md +55 -0
- sfaa/data/agents/web/csp-security-engineer.md +52 -0
- sfaa/data/agents/web/frontend-performance-engineer.md +49 -0
- sfaa/data/agents/web/frontend-state-architect.md +52 -0
- sfaa/data/agents/web/web-accessibility-test-engineer.md +48 -0
- sfaa/data/agents/web/web-caching-architect.md +46 -0
- sfaa/data/agents/web/web-platform-architect.md +55 -0
- sfaa/data/agents/web/web-security-test-engineer.md +55 -0
- sfaa/data/catalog/README.md +19 -0
- sfaa/data/catalog/agent-directory-map.json +29 -0
- sfaa/data/catalog/categories.json +26 -0
- sfaa/data/catalog/targets.json +63 -0
- sfaa/data/evaluations/README.md +53 -0
- sfaa/data/evaluations/cases.json +4847 -0
- sfaa/data/evaluations/results/README.md +15 -0
- sfaa/data/schemas/agent-directory-map.schema.json +14 -0
- sfaa/data/schemas/agent.schema.json +14 -0
- sfaa/data/schemas/compatibility.schema.json +28 -0
- sfaa/data/schemas/evaluation-cases.schema.json +78 -0
- sfaa/data/schemas/evaluation-pack.schema.json +132 -0
- sfaa/data/schemas/evaluation-results.schema.json +34 -0
- sfaa/data/schemas/skill.schema.json +14 -0
- sfaa/data/skills/README.md +361 -0
- sfaa/data/skills/artificial-intelligence/ai-agent-orchestration/SKILL.md +22 -0
- sfaa/data/skills/artificial-intelligence/ai-agent-tool-safety/SKILL.md +29 -0
- sfaa/data/skills/artificial-intelligence/ai-model-risk-assessment/SKILL.md +28 -0
- sfaa/data/skills/artificial-intelligence/llm-context-window-optimization/SKILL.md +39 -0
- sfaa/data/skills/artificial-intelligence/llm-evaluation/SKILL.md +25 -0
- sfaa/data/skills/artificial-intelligence/llm-inference/SKILL.md +22 -0
- sfaa/data/skills/artificial-intelligence/llm-inference-quantization/SKILL.md +39 -0
- sfaa/data/skills/artificial-intelligence/model-serving/SKILL.md +22 -0
- sfaa/data/skills/artificial-intelligence/model-serving-reliability/SKILL.md +29 -0
- sfaa/data/skills/artificial-intelligence/multimodal-evaluation-protocol/SKILL.md +35 -0
- sfaa/data/skills/artificial-intelligence/retrieval-augmented-generation/SKILL.md +25 -0
- sfaa/data/skills/business/customer-interview-synthesis/SKILL.md +35 -0
- sfaa/data/skills/business/go-to-market-planning/SKILL.md +31 -0
- sfaa/data/skills/business/market-sizing-analysis/SKILL.md +35 -0
- sfaa/data/skills/business/pricing-experiment-design/SKILL.md +29 -0
- sfaa/data/skills/business/product-analytics-instrumentation/SKILL.md +29 -0
- sfaa/data/skills/business/product-discovery/SKILL.md +30 -0
- sfaa/data/skills/business/technical-roadmapping/SKILL.md +29 -0
- sfaa/data/skills/cloud-computing/cloud-architecture/SKILL.md +21 -0
- sfaa/data/skills/cloud-computing/cloud-cost-optimization/SKILL.md +29 -0
- sfaa/data/skills/cloud-computing/cloud-disaster-recovery-engineering/SKILL.md +39 -0
- sfaa/data/skills/cloud-computing/cloud-finops-governance/SKILL.md +35 -0
- sfaa/data/skills/cloud-computing/cloud-iam-architecture/SKILL.md +31 -0
- sfaa/data/skills/cloud-computing/cloud-identity-federation/SKILL.md +35 -0
- sfaa/data/skills/cloud-computing/cloud-landing-zone-governance/SKILL.md +39 -0
- sfaa/data/skills/cloud-computing/cloud-network-resilience/SKILL.md +35 -0
- sfaa/data/skills/cloud-computing/cloud-network-segmentation/SKILL.md +29 -0
- sfaa/data/skills/cloud-computing/cloud-observability-engineering/SKILL.md +35 -0
- sfaa/data/skills/cloud-computing/service-mesh-traffic-management/SKILL.md +29 -0
- sfaa/data/skills/compiler-engineering/compiler-debug-information/SKILL.md +29 -0
- sfaa/data/skills/compiler-engineering/compiler-differential-testing/SKILL.md +29 -0
- sfaa/data/skills/compiler-engineering/compiler-frontends/SKILL.md +30 -0
- sfaa/data/skills/compiler-engineering/compiler-optimization/SKILL.md +22 -0
- sfaa/data/skills/compiler-engineering/garbage-collection/SKILL.md +22 -0
- sfaa/data/skills/compiler-engineering/intermediate-representation-design/SKILL.md +30 -0
- sfaa/data/skills/compiler-engineering/linker-relocation-engineering/SKILL.md +35 -0
- sfaa/data/skills/cybersecurity/api-authorization-testing/SKILL.md +31 -0
- sfaa/data/skills/cybersecurity/cloud-identity-security-review/SKILL.md +35 -0
- sfaa/data/skills/cybersecurity/cloud-security-posture-review/SKILL.md +27 -0
- sfaa/data/skills/cybersecurity/cloud-workload-identity-assessment/SKILL.md +58 -0
- sfaa/data/skills/cybersecurity/container-image-security-audit/SKILL.md +31 -0
- sfaa/data/skills/cybersecurity/container-kubernetes-security/SKILL.md +27 -0
- sfaa/data/skills/cybersecurity/cryptographic-implementation-audit/SKILL.md +31 -0
- sfaa/data/skills/cybersecurity/cryptographic-protocol-review/SKILL.md +39 -0
- sfaa/data/skills/cybersecurity/defensive-security-review/SKILL.md +27 -0
- sfaa/data/skills/cybersecurity/detection-engineering/SKILL.md +32 -0
- sfaa/data/skills/cybersecurity/fuzz-testing-campaigns/SKILL.md +35 -0
- sfaa/data/skills/cybersecurity/incident-response/SKILL.md +23 -0
- sfaa/data/skills/cybersecurity/iot-device-security-assessment/SKILL.md +35 -0
- sfaa/data/skills/cybersecurity/linux-host-hardening/SKILL.md +31 -0
- sfaa/data/skills/cybersecurity/linux-kernel-module-security-review/SKILL.md +54 -0
- sfaa/data/skills/cybersecurity/malware-triage-analysis/SKILL.md +28 -0
- sfaa/data/skills/cybersecurity/memory-forensics/SKILL.md +27 -0
- sfaa/data/skills/cybersecurity/network-security-assessment/SKILL.md +27 -0
- sfaa/data/skills/cybersecurity/privacy-impact-assessment/SKILL.md +29 -0
- sfaa/data/skills/cybersecurity/prompt-injection-defense/SKILL.md +23 -0
- sfaa/data/skills/cybersecurity/secure-boot-chain-review/SKILL.md +42 -0
- sfaa/data/skills/cybersecurity/secure-code-audit/SKILL.md +23 -0
- sfaa/data/skills/cybersecurity/secure-secret-management/SKILL.md +29 -0
- sfaa/data/skills/cybersecurity/secure-update-mechanism-review/SKILL.md +31 -0
- sfaa/data/skills/cybersecurity/security-incident-forensics/SKILL.md +29 -0
- sfaa/data/skills/cybersecurity/security-log-detection-engineering/SKILL.md +35 -0
- sfaa/data/skills/cybersecurity/software-supply-chain-security-assessment/SKILL.md +31 -0
- sfaa/data/skills/cybersecurity/threat-modeling/SKILL.md +23 -0
- sfaa/data/skills/cybersecurity/vulnerability-research-fuzzing/SKILL.md +28 -0
- sfaa/data/skills/cybersecurity/web-api-security-testing/SKILL.md +27 -0
- sfaa/data/skills/cybersecurity/web-application-security/SKILL.md +22 -0
- sfaa/data/skills/cybersecurity/windows-active-directory-security-review/SKILL.md +31 -0
- sfaa/data/skills/cybersecurity/windows-event-log-forensics/SKILL.md +56 -0
- sfaa/data/skills/data-science/analytical-data-visualization/SKILL.md +31 -0
- sfaa/data/skills/data-science/data-contract-governance/SKILL.md +29 -0
- sfaa/data/skills/data-science/data-lineage-and-provenance/SKILL.md +39 -0
- sfaa/data/skills/data-science/data-observability-engineering/SKILL.md +35 -0
- sfaa/data/skills/data-science/data-pipeline-engineering/SKILL.md +21 -0
- sfaa/data/skills/data-science/data-quality-engineering/SKILL.md +30 -0
- sfaa/data/skills/data-science/stream-processing-reliability/SKILL.md +39 -0
- sfaa/data/skills/databases/backup-recovery/SKILL.md +21 -0
- sfaa/data/skills/databases/database-query-plan-analysis/SKILL.md +28 -0
- sfaa/data/skills/databases/database-reliability/SKILL.md +25 -0
- sfaa/data/skills/databases/database-replication-lag-analysis/SKILL.md +39 -0
- sfaa/data/skills/databases/database-schema-design-review/SKILL.md +29 -0
- sfaa/data/skills/databases/database-workload-characterization/SKILL.md +39 -0
- sfaa/data/skills/databases/distributed-database-consistency/SKILL.md +29 -0
- sfaa/data/skills/databases/online-database-migration-design/SKILL.md +39 -0
- sfaa/data/skills/databases/schema-migrations/SKILL.md +21 -0
- sfaa/data/skills/databases/sql-query-optimization/SKILL.md +37 -0
- sfaa/data/skills/databases/vector-search/SKILL.md +22 -0
- sfaa/data/skills/devops/chaos-engineering/SKILL.md +35 -0
- sfaa/data/skills/devops/ci-cd-design/SKILL.md +21 -0
- sfaa/data/skills/devops/container-image-hardening/SKILL.md +29 -0
- sfaa/data/skills/devops/container-runtime-isolation-review/SKILL.md +39 -0
- sfaa/data/skills/devops/container-security/SKILL.md +37 -0
- sfaa/data/skills/devops/gitops-delivery/SKILL.md +29 -0
- sfaa/data/skills/devops/infrastructure-drift-management/SKILL.md +29 -0
- sfaa/data/skills/devops/kubernetes-scheduling-analysis/SKILL.md +39 -0
- sfaa/data/skills/devops/release-engineering/SKILL.md +25 -0
- sfaa/data/skills/devops/release-rollback-engineering/SKILL.md +29 -0
- sfaa/data/skills/devops/secure-update-systems/SKILL.md +29 -0
- sfaa/data/skills/devops/software-supply-chain-provenance/SKILL.md +28 -0
- sfaa/data/skills/game-development/deterministic-game-simulation/SKILL.md +39 -0
- sfaa/data/skills/game-development/game-anti-cheat-threat-modeling/SKILL.md +39 -0
- sfaa/data/skills/game-development/game-client-security/SKILL.md +29 -0
- sfaa/data/skills/game-development/game-economy-design/SKILL.md +31 -0
- sfaa/data/skills/game-development/game-networking/SKILL.md +29 -0
- sfaa/data/skills/game-development/game-performance/SKILL.md +20 -0
- sfaa/data/skills/game-development/game-server-capacity-planning/SKILL.md +29 -0
- sfaa/data/skills/machine-learning/machine-learning-data-drift/SKILL.md +32 -0
- sfaa/data/skills/machine-learning/ml-experiment-reproducibility/SKILL.md +29 -0
- sfaa/data/skills/machine-learning/ml-feature-store-governance/SKILL.md +39 -0
- sfaa/data/skills/machine-learning/ml-label-quality-auditing/SKILL.md +35 -0
- sfaa/data/skills/machine-learning/ml-serving-canary-rollouts/SKILL.md +35 -0
- sfaa/data/skills/machine-learning/model-evaluation-robustness/SKILL.md +29 -0
- sfaa/data/skills/machine-learning/model-monitoring-drift-response/SKILL.md +39 -0
- sfaa/data/skills/machine-learning/model-training/SKILL.md +25 -0
- sfaa/data/skills/mathematics/numerical-analysis/SKILL.md +29 -0
- sfaa/data/skills/mathematics/numerical-stability-analysis/SKILL.md +32 -0
- sfaa/data/skills/mathematics/probabilistic-model-validation/SKILL.md +31 -0
- sfaa/data/skills/mobile-development/mobile-accessibility-engineering/SKILL.md +39 -0
- sfaa/data/skills/mobile-development/mobile-app-security/SKILL.md +29 -0
- sfaa/data/skills/mobile-development/mobile-architecture/SKILL.md +20 -0
- sfaa/data/skills/mobile-development/mobile-performance-profiling/SKILL.md +31 -0
- sfaa/data/skills/mobile-development/mobile-release-engineering/SKILL.md +30 -0
- sfaa/data/skills/mobile-development/offline-first-mobile-architecture/SKILL.md +29 -0
- sfaa/data/skills/mobile-development/offline-sync-conflict-resolution/SKILL.md +39 -0
- sfaa/data/skills/networking/dns-resilience-architecture/SKILL.md +39 -0
- sfaa/data/skills/networking/ipv6-transition-planning/SKILL.md +39 -0
- sfaa/data/skills/networking/network-capacity-planning/SKILL.md +31 -0
- sfaa/data/skills/networking/network-debugging/SKILL.md +20 -0
- sfaa/data/skills/networking/network-protocol-fuzzing/SKILL.md +28 -0
- sfaa/data/skills/networking/network-traffic-analysis/SKILL.md +29 -0
- sfaa/data/skills/networking/protocol-design/SKILL.md +25 -0
- sfaa/data/skills/operating-systems/ebpf-observability-engineering/SKILL.md +39 -0
- sfaa/data/skills/operating-systems/filesystem-crash-consistency/SKILL.md +29 -0
- sfaa/data/skills/operating-systems/kernel-concurrency-analysis/SKILL.md +29 -0
- sfaa/data/skills/operating-systems/kernel-scheduler-analysis/SKILL.md +31 -0
- sfaa/data/skills/operating-systems/linux-filesystems/SKILL.md +22 -0
- sfaa/data/skills/operating-systems/linux-kernel-triage/SKILL.md +25 -0
- sfaa/data/skills/operating-systems/numa-performance-analysis/SKILL.md +39 -0
- sfaa/data/skills/operating-systems/real-time-systems-analysis/SKILL.md +29 -0
- sfaa/data/skills/operating-systems/virtual-memory-pressure-analysis/SKILL.md +39 -0
- sfaa/data/skills/productivity/automation-reliability-engineering/SKILL.md +31 -0
- sfaa/data/skills/productivity/calendar-capacity-planning/SKILL.md +28 -0
- sfaa/data/skills/productivity/document-workflow-automation/SKILL.md +28 -0
- sfaa/data/skills/productivity/meeting-outcome-management/SKILL.md +28 -0
- sfaa/data/skills/productivity/personal-data-portability/SKILL.md +28 -0
- sfaa/data/skills/productivity/personal-knowledge-base-design/SKILL.md +28 -0
- sfaa/data/skills/productivity/recurring-workflow-design/SKILL.md +28 -0
- sfaa/data/skills/productivity/structured-note-taking/SKILL.md +28 -0
- sfaa/data/skills/productivity/task-prioritization/SKILL.md +28 -0
- sfaa/data/skills/productivity/time-audit-analysis/SKILL.md +28 -0
- sfaa/data/skills/productivity/workflow-bottleneck-analysis/SKILL.md +28 -0
- sfaa/data/skills/programming-languages/language-module-system-design/SKILL.md +29 -0
- sfaa/data/skills/programming-languages/language-parser-engineering/SKILL.md +32 -0
- sfaa/data/skills/programming-languages/language-runtime-design/SKILL.md +22 -0
- sfaa/data/skills/programming-languages/type-system-design/SKILL.md +22 -0
- sfaa/data/skills/research/api-documentation/SKILL.md +35 -0
- sfaa/data/skills/research/benchmark-methodology/SKILL.md +29 -0
- sfaa/data/skills/research/causal-study-design/SKILL.md +35 -0
- sfaa/data/skills/research/reproducible-experiment-engineering/SKILL.md +39 -0
- sfaa/data/skills/research/technical-documentation/SKILL.md +25 -0
- sfaa/data/skills/research/technical-research-synthesis/SKILL.md +29 -0
- sfaa/data/skills/reverse-engineering/android-native-library-analysis/SKILL.md +28 -0
- sfaa/data/skills/reverse-engineering/arm64-assembly-analysis/SKILL.md +28 -0
- sfaa/data/skills/reverse-engineering/binary-diff-and-patch-analysis/SKILL.md +31 -0
- sfaa/data/skills/reverse-engineering/binary-static-analysis/SKILL.md +27 -0
- sfaa/data/skills/reverse-engineering/control-flow-reconstruction/SKILL.md +28 -0
- sfaa/data/skills/reverse-engineering/debugger-assisted-program-analysis/SKILL.md +28 -0
- sfaa/data/skills/reverse-engineering/decompiler-output-validation/SKILL.md +28 -0
- sfaa/data/skills/reverse-engineering/dynamic-binary-analysis/SKILL.md +27 -0
- sfaa/data/skills/reverse-engineering/executable-format-forensics/SKILL.md +28 -0
- sfaa/data/skills/reverse-engineering/file-format-reconstruction/SKILL.md +31 -0
- sfaa/data/skills/reverse-engineering/firmware-boot-chain-reconstruction/SKILL.md +48 -0
- sfaa/data/skills/reverse-engineering/firmware-reverse-engineering/SKILL.md +27 -0
- sfaa/data/skills/reverse-engineering/kernel-driver-reverse-engineering/SKILL.md +51 -0
- sfaa/data/skills/reverse-engineering/network-protocol-state-machine-reconstruction/SKILL.md +45 -0
- sfaa/data/skills/reverse-engineering/protocol-reverse-engineering/SKILL.md +27 -0
- sfaa/data/skills/reverse-engineering/wasm-binary-analysis/SKILL.md +28 -0
- sfaa/data/skills/reverse-engineering/windows-internals-binary-analysis/SKILL.md +28 -0
- sfaa/data/skills/reverse-engineering/x86-64-assembly-analysis/SKILL.md +28 -0
- sfaa/data/skills/software-engineering/api-contract-testing/SKILL.md +29 -0
- sfaa/data/skills/software-engineering/api-design/SKILL.md +25 -0
- sfaa/data/skills/software-engineering/api-idempotency-design/SKILL.md +39 -0
- sfaa/data/skills/software-engineering/api-versioning-governance/SKILL.md +29 -0
- sfaa/data/skills/software-engineering/code-review/SKILL.md +31 -0
- sfaa/data/skills/software-engineering/codebase-migration-planning/SKILL.md +29 -0
- sfaa/data/skills/software-engineering/concurrency-design/SKILL.md +22 -0
- sfaa/data/skills/software-engineering/debugging/SKILL.md +24 -0
- sfaa/data/skills/software-engineering/dependency-upgrade-management/SKILL.md +29 -0
- sfaa/data/skills/software-engineering/distributed-tracing-instrumentation/SKILL.md +29 -0
- sfaa/data/skills/software-engineering/git-repository-maintenance/SKILL.md +22 -0
- sfaa/data/skills/software-engineering/incident-postmortem/SKILL.md +29 -0
- sfaa/data/skills/software-engineering/mutation-testing/SKILL.md +35 -0
- sfaa/data/skills/software-engineering/observability-engineering/SKILL.md +29 -0
- sfaa/data/skills/software-engineering/performance-profiling/SKILL.md +23 -0
- sfaa/data/skills/software-engineering/performance-testing/SKILL.md +35 -0
- sfaa/data/skills/software-engineering/property-based-testing/SKILL.md +35 -0
- sfaa/data/skills/software-engineering/rest-api-testing/SKILL.md +21 -0
- sfaa/data/skills/software-engineering/testing-strategy/SKILL.md +23 -0
- sfaa/data/skills/systems-programming/c-memory-safety/SKILL.md +23 -0
- sfaa/data/skills/systems-programming/cryptographic-integration/SKILL.md +20 -0
- sfaa/data/skills/systems-programming/device-driver-development/SKILL.md +22 -0
- sfaa/data/skills/systems-programming/distributed-saga-design/SKILL.md +29 -0
- sfaa/data/skills/systems-programming/distributed-systems/SKILL.md +22 -0
- sfaa/data/skills/systems-programming/embedded-c-development/SKILL.md +22 -0
- sfaa/data/skills/systems-programming/embedded-debugging/SKILL.md +29 -0
- sfaa/data/skills/systems-programming/embedded-power-management/SKILL.md +29 -0
- sfaa/data/skills/systems-programming/firmware-security-review/SKILL.md +42 -0
- sfaa/data/skills/systems-programming/memory-allocator-design/SKILL.md +29 -0
- sfaa/data/skills/systems-programming/rust-ownership/SKILL.md +24 -0
- sfaa/data/skills/systems-programming/secure-memory-reclamation/SKILL.md +39 -0
- sfaa/data/skills/web-development/api-authentication-design/SKILL.md +30 -0
- sfaa/data/skills/web-development/api-rate-limiting-design/SKILL.md +29 -0
- sfaa/data/skills/web-development/browser-storage-security/SKILL.md +35 -0
- sfaa/data/skills/web-development/content-security-policy-engineering/SKILL.md +39 -0
- sfaa/data/skills/web-development/frontend-accessibility/SKILL.md +32 -0
- sfaa/data/skills/web-development/frontend-performance-budgeting/SKILL.md +28 -0
- sfaa/data/skills/web-development/frontend-state-architecture/SKILL.md +39 -0
- sfaa/data/skills/web-development/web-accessibility-testing/SKILL.md +32 -0
- sfaa/data/skills/web-development/web-application-security-testing/SKILL.md +35 -0
- sfaa/data/skills/web-development/web-caching-strategy/SKILL.md +31 -0
- sfaa/export.py +213 -0
- sfaa/mcp/__init__.py +3 -0
- sfaa/mcp/server.py +186 -0
- sfaa/updater.py +254 -0
- sfaa-0.2.0.dist-info/METADATA +130 -0
- sfaa-0.2.0.dist-info/RECORD +480 -0
- sfaa-0.2.0.dist-info/WHEEL +5 -0
- sfaa-0.2.0.dist-info/entry_points.txt +3 -0
- sfaa-0.2.0.dist-info/licenses/LICENSE +203 -0
- sfaa-0.2.0.dist-info/licenses/LICENSE-CONTENT +8 -0
- sfaa-0.2.0.dist-info/top_level.txt +2 -0
- skills_for_all/__init__.py +8 -0
- skills_for_all/__main__.py +3 -0
- skills_for_all/cli.py +113 -0
- skills_for_all/coverage.py +155 -0
- skills_for_all/dependencies.py +98 -0
- skills_for_all/evaluation.py +259 -0
- skills_for_all/evaluation_pack.py +108 -0
- skills_for_all/semantic_audit.py +173 -0
- skills_for_all/validator.py +316 -0
sfaa/__init__.py
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"""Public Python SDK for Skills for All AI."""
|
|
2
|
+
|
|
3
|
+
from importlib.metadata import PackageNotFoundError, version
|
|
4
|
+
|
|
5
|
+
from .api import CatalogEntry, CatalogFormatError, SFAA
|
|
6
|
+
from .export import export_agent, export_agent_context, export_copilot_agent, export_copilot_skill, export_skill
|
|
7
|
+
|
|
8
|
+
try:
|
|
9
|
+
__version__ = version("sfaa")
|
|
10
|
+
except PackageNotFoundError:
|
|
11
|
+
__version__ = "0.2.0"
|
|
12
|
+
|
|
13
|
+
__all__ = [
|
|
14
|
+
"CatalogEntry",
|
|
15
|
+
"CatalogFormatError",
|
|
16
|
+
"SFAA",
|
|
17
|
+
"__version__",
|
|
18
|
+
"export_agent",
|
|
19
|
+
"export_agent_context",
|
|
20
|
+
"export_copilot_agent",
|
|
21
|
+
"export_copilot_skill",
|
|
22
|
+
"export_skill",
|
|
23
|
+
]
|
sfaa/api.py
ADDED
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
"""Offline-first public catalog API."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from dataclasses import dataclass
|
|
6
|
+
from pathlib import Path
|
|
7
|
+
from typing import Any, Iterable
|
|
8
|
+
import re
|
|
9
|
+
|
|
10
|
+
import yaml
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
@dataclass(frozen=True, slots=True)
|
|
14
|
+
class CatalogEntry:
|
|
15
|
+
"""A parsed skill or specialist-agent definition."""
|
|
16
|
+
|
|
17
|
+
id: str
|
|
18
|
+
name: str
|
|
19
|
+
description: str
|
|
20
|
+
kind: str
|
|
21
|
+
category: str
|
|
22
|
+
path: str
|
|
23
|
+
content: str
|
|
24
|
+
metadata: dict[str, Any]
|
|
25
|
+
|
|
26
|
+
@property
|
|
27
|
+
def body(self) -> str:
|
|
28
|
+
"""Return the Markdown body without YAML frontmatter."""
|
|
29
|
+
parts = self.content.split("---", 2)
|
|
30
|
+
return parts[2].strip() if len(parts) == 3 else self.content.strip()
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
class CatalogNotFoundError(LookupError):
|
|
34
|
+
"""Raised when a requested skill or agent does not exist."""
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
class CatalogFormatError(ValueError):
|
|
38
|
+
"""Raised when a catalog entry is malformed or has a conflicting ID."""
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
def _frontmatter(path: Path) -> tuple[dict[str, Any], str]:
|
|
42
|
+
text = path.read_text(encoding="utf-8")
|
|
43
|
+
if not text.startswith("---\n"):
|
|
44
|
+
raise ValueError(f"Missing YAML frontmatter: {path}")
|
|
45
|
+
parts = text.split("---", 2)
|
|
46
|
+
if len(parts) != 3:
|
|
47
|
+
raise ValueError(f"Unterminated YAML frontmatter: {path}")
|
|
48
|
+
metadata = yaml.safe_load(parts[1])
|
|
49
|
+
if not isinstance(metadata, dict):
|
|
50
|
+
raise ValueError(f"Frontmatter must be a mapping: {path}")
|
|
51
|
+
return metadata, text
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
def _safe_id(value: str) -> str:
|
|
55
|
+
if not re.fullmatch(r"[a-z0-9]+(?:-[a-z0-9]+)*", value):
|
|
56
|
+
raise ValueError("IDs must use lowercase kebab-case.")
|
|
57
|
+
return value
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
class _Collection:
|
|
61
|
+
def __init__(self, sdk: "SFAA", kind: str) -> None:
|
|
62
|
+
self._sdk = sdk
|
|
63
|
+
self._kind = kind
|
|
64
|
+
|
|
65
|
+
def _entries(self) -> Iterable[CatalogEntry]:
|
|
66
|
+
base = self._sdk._data_root / ("skills" if self._kind == "skill" else "agents")
|
|
67
|
+
if not base.is_dir():
|
|
68
|
+
return
|
|
69
|
+
pattern = "SKILL.md" if self._kind == "skill" else "*.md"
|
|
70
|
+
seen_ids: set[str] = set()
|
|
71
|
+
for path in sorted(base.rglob(pattern)):
|
|
72
|
+
if path.is_symlink() or not path.is_file():
|
|
73
|
+
continue
|
|
74
|
+
relative = path.relative_to(self._sdk._data_root).as_posix()
|
|
75
|
+
try:
|
|
76
|
+
metadata, content = _frontmatter(path)
|
|
77
|
+
name = metadata.get("name")
|
|
78
|
+
description = metadata.get("description")
|
|
79
|
+
if not isinstance(name, str) or not name.strip():
|
|
80
|
+
raise ValueError("name must be a non-empty string")
|
|
81
|
+
if not isinstance(description, str) or not description.strip():
|
|
82
|
+
raise ValueError("description must be a non-empty string")
|
|
83
|
+
if self._kind == "skill":
|
|
84
|
+
skill_metadata = metadata.get("metadata", {})
|
|
85
|
+
if not isinstance(skill_metadata, dict):
|
|
86
|
+
raise ValueError("metadata must be a mapping")
|
|
87
|
+
stable_id = skill_metadata.get("id", name)
|
|
88
|
+
else:
|
|
89
|
+
stable_id = metadata.get("id")
|
|
90
|
+
if not isinstance(stable_id, str):
|
|
91
|
+
raise ValueError("id must be a string")
|
|
92
|
+
_safe_id(stable_id)
|
|
93
|
+
if stable_id in seen_ids:
|
|
94
|
+
raise ValueError(f"duplicate {self._kind} ID: {stable_id}")
|
|
95
|
+
seen_ids.add(stable_id)
|
|
96
|
+
category = path.parent.parent.name if self._kind == "skill" else path.parent.name
|
|
97
|
+
yield CatalogEntry(
|
|
98
|
+
id=stable_id,
|
|
99
|
+
name=name,
|
|
100
|
+
description=description,
|
|
101
|
+
kind=self._kind,
|
|
102
|
+
category=category,
|
|
103
|
+
path=relative,
|
|
104
|
+
content=content,
|
|
105
|
+
metadata=metadata,
|
|
106
|
+
)
|
|
107
|
+
except (OSError, UnicodeError, ValueError, yaml.YAMLError, AttributeError) as exc:
|
|
108
|
+
raise CatalogFormatError(
|
|
109
|
+
f"Invalid {self._kind} entry at {relative}: {exc}"
|
|
110
|
+
) from exc
|
|
111
|
+
|
|
112
|
+
def list(self, *, category: str | None = None) -> list[CatalogEntry]:
|
|
113
|
+
"""List entries, optionally filtered by category."""
|
|
114
|
+
entries = list(self._entries())
|
|
115
|
+
if category:
|
|
116
|
+
entries = [entry for entry in entries if entry.category == category]
|
|
117
|
+
return entries
|
|
118
|
+
|
|
119
|
+
def get(self, entry_id: str) -> CatalogEntry:
|
|
120
|
+
"""Retrieve one entry by its stable identifier."""
|
|
121
|
+
stable_id = _safe_id(entry_id)
|
|
122
|
+
entries = list(self._entries())
|
|
123
|
+
for entry in entries:
|
|
124
|
+
if entry.id == stable_id:
|
|
125
|
+
return entry
|
|
126
|
+
raise CatalogNotFoundError(f"No {self._kind} found with ID {stable_id!r}.")
|
|
127
|
+
|
|
128
|
+
def search(self, query: str, *, limit: int = 20, category: str | None = None) -> list[CatalogEntry]:
|
|
129
|
+
"""Search IDs, names, descriptions and Markdown content."""
|
|
130
|
+
if not isinstance(query, str) or not query.strip():
|
|
131
|
+
raise ValueError("Search query must not be empty.")
|
|
132
|
+
if not 1 <= limit <= 200:
|
|
133
|
+
raise ValueError("limit must be between 1 and 200.")
|
|
134
|
+
terms = query.casefold().split()
|
|
135
|
+
normalized_query = "-".join(re.findall(r"[a-z0-9]+", query.casefold()))
|
|
136
|
+
matches: list[tuple[int, CatalogEntry]] = []
|
|
137
|
+
for entry in self._entries():
|
|
138
|
+
if category and entry.category != category:
|
|
139
|
+
continue
|
|
140
|
+
haystack = " ".join((entry.id, entry.name, entry.description, entry.content)).casefold()
|
|
141
|
+
phrase_score = 100 if entry.id == normalized_query else 50 if normalized_query in entry.id else 0
|
|
142
|
+
score = phrase_score + sum(3 if term in entry.name.casefold() else 2 if term in entry.id else 1 for term in terms if term in haystack)
|
|
143
|
+
if score == len(terms):
|
|
144
|
+
matches.append((score, entry))
|
|
145
|
+
elif all(term in haystack for term in terms):
|
|
146
|
+
matches.append((score, entry))
|
|
147
|
+
matches.sort(key=lambda item: (-item[0], item[1].id))
|
|
148
|
+
return [entry for _, entry in matches[:limit]]
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
class SFAA:
|
|
152
|
+
"""Access the bundled SFAA catalog without network access.
|
|
153
|
+
|
|
154
|
+
Args:
|
|
155
|
+
root: Optional repository root or catalog data directory. If omitted,
|
|
156
|
+
the SDK uses the catalog bundled in its installed distribution.
|
|
157
|
+
"""
|
|
158
|
+
|
|
159
|
+
def __init__(self, root: str | Path | None = None) -> None:
|
|
160
|
+
if root is None:
|
|
161
|
+
candidate = Path(__file__).resolve().parent / "data"
|
|
162
|
+
if not (candidate / "skills").is_dir() or not (candidate / "agents").is_dir():
|
|
163
|
+
source_root = Path(__file__).resolve().parent.parent
|
|
164
|
+
if (source_root / "skills").is_dir() and (source_root / "agents").is_dir():
|
|
165
|
+
candidate = source_root
|
|
166
|
+
else:
|
|
167
|
+
candidate = Path(root).expanduser().resolve()
|
|
168
|
+
if (candidate / "skills").is_dir() and (candidate / "agents").is_dir():
|
|
169
|
+
pass
|
|
170
|
+
elif (candidate / "data" / "skills").is_dir():
|
|
171
|
+
candidate = candidate / "data"
|
|
172
|
+
if not (candidate / "skills").is_dir() or not (candidate / "agents").is_dir():
|
|
173
|
+
raise FileNotFoundError(
|
|
174
|
+
"SFAA catalog data is unavailable. Reinstall the complete sfaa package "
|
|
175
|
+
"or pass a repository root containing skills/ and agents/."
|
|
176
|
+
)
|
|
177
|
+
self._data_root = candidate
|
|
178
|
+
self.skills = _Collection(self, "skill")
|
|
179
|
+
self.agents = _Collection(self, "agent")
|
|
180
|
+
|
|
181
|
+
def categories(self) -> list[dict[str, str]]:
|
|
182
|
+
"""Return categories declared by the catalog taxonomy."""
|
|
183
|
+
path = self._data_root / "catalog" / "categories.json"
|
|
184
|
+
if not path.is_file():
|
|
185
|
+
return []
|
|
186
|
+
import json
|
|
187
|
+
|
|
188
|
+
payload = json.loads(path.read_text(encoding="utf-8"))
|
|
189
|
+
return [item for item in payload.get("categories", []) if isinstance(item, dict)]
|
|
190
|
+
|
|
191
|
+
def agent_skills(self, agent_id: str) -> dict[str, list[str]]:
|
|
192
|
+
"""Resolve the declared required and optional skill IDs for an agent."""
|
|
193
|
+
agent = self.agents.get(agent_id)
|
|
194
|
+
skills = agent.metadata.get("skills")
|
|
195
|
+
if not isinstance(skills, dict):
|
|
196
|
+
raise ValueError(f"Agent {agent.id!r} must declare skills as a mapping.")
|
|
197
|
+
|
|
198
|
+
result: dict[str, list[str]] = {}
|
|
199
|
+
for group in ("required", "optional"):
|
|
200
|
+
ids = skills.get(group, [])
|
|
201
|
+
if not isinstance(ids, list):
|
|
202
|
+
raise ValueError(
|
|
203
|
+
f"Agent {agent.id!r} skills.{group} must be a list of skill IDs."
|
|
204
|
+
)
|
|
205
|
+
if any(not isinstance(value, str) for value in ids):
|
|
206
|
+
raise ValueError(
|
|
207
|
+
f"Agent {agent.id!r} skills.{group} contains a non-string skill ID."
|
|
208
|
+
)
|
|
209
|
+
normalized = [_safe_id(value) for value in ids]
|
|
210
|
+
if len(normalized) != len(set(normalized)):
|
|
211
|
+
raise ValueError(f"Agent {agent.id!r} has duplicate skills.{group} entries.")
|
|
212
|
+
result[group] = normalized
|
|
213
|
+
|
|
214
|
+
overlap = set(result["required"]) & set(result["optional"])
|
|
215
|
+
if overlap:
|
|
216
|
+
duplicate_ids = ", ".join(sorted(overlap))
|
|
217
|
+
raise ValueError(
|
|
218
|
+
f"Agent {agent.id!r} declares skills as both required and optional: "
|
|
219
|
+
f"{duplicate_ids}."
|
|
220
|
+
)
|
|
221
|
+
return result
|
|
222
|
+
|
|
223
|
+
def compose_agent_context(self, agent_id: str, *, include_optional: bool = False) -> str:
|
|
224
|
+
"""Compose an agent definition and its referenced skills as plain text.
|
|
225
|
+
|
|
226
|
+
This method retrieves instructions only; it never executes an agent,
|
|
227
|
+
invokes tools, or grants permissions.
|
|
228
|
+
"""
|
|
229
|
+
agent = self.agents.get(agent_id)
|
|
230
|
+
references = self.agent_skills(agent_id)
|
|
231
|
+
selected = references["required"] + (references["optional"] if include_optional else [])
|
|
232
|
+
sections = [f"# Agent: {agent.name}\n\n{agent.body}"]
|
|
233
|
+
required = set(references["required"])
|
|
234
|
+
for skill_id in selected:
|
|
235
|
+
skill = self.skills.get(skill_id)
|
|
236
|
+
heading = "Required skill" if skill_id in required else "Optional skill"
|
|
237
|
+
sections.append(f"# {heading}: {skill.name}\n\n{skill.body}")
|
|
238
|
+
return "\n\n---\n\n".join(sections)
|
sfaa/cli.py
ADDED
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
"""Command-line interface for the SFAA SDK."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
import argparse
|
|
6
|
+
import json
|
|
7
|
+
import sys
|
|
8
|
+
|
|
9
|
+
from . import __version__
|
|
10
|
+
from .api import SFAA
|
|
11
|
+
from .updater import update
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def main(argv: list[str] | None = None) -> int:
|
|
15
|
+
parser = argparse.ArgumentParser(prog="sfaa", description="Skills for All AI")
|
|
16
|
+
parser.add_argument("--version", action="version", version=f"%(prog)s {__version__}")
|
|
17
|
+
commands = parser.add_subparsers(dest="command")
|
|
18
|
+
|
|
19
|
+
listing = commands.add_parser("list", help="List skills or agents")
|
|
20
|
+
listing.add_argument("kind", choices=("skills", "agents"))
|
|
21
|
+
listing.add_argument("--category")
|
|
22
|
+
|
|
23
|
+
search = commands.add_parser("search", help="Search skills or agents")
|
|
24
|
+
search.add_argument("kind", choices=("skills", "agents"))
|
|
25
|
+
search.add_argument("query")
|
|
26
|
+
search.add_argument("--limit", type=int, default=20)
|
|
27
|
+
search.add_argument("--category")
|
|
28
|
+
|
|
29
|
+
show = commands.add_parser("show", help="Display a skill or agent definition")
|
|
30
|
+
show.add_argument("kind", choices=("skill", "agent"))
|
|
31
|
+
show.add_argument("entry_id")
|
|
32
|
+
|
|
33
|
+
updater = commands.add_parser("update", help="Check for and install SFAA updates")
|
|
34
|
+
updater.add_argument("--check", "--no-install", dest="check", action="store_true", help="Check without installing")
|
|
35
|
+
updater.add_argument("--channel", choices=("stable", "beta"), default="stable", help="Release channel (default: stable)")
|
|
36
|
+
updater.add_argument("--version", dest="target_version", help="Install a specific published version")
|
|
37
|
+
|
|
38
|
+
export = commands.add_parser("export", help="Export portable Markdown for agent hosts")
|
|
39
|
+
export_commands = export.add_subparsers(dest="export_kind")
|
|
40
|
+
|
|
41
|
+
export_skill_parser = export_commands.add_parser("skill", help="Export one skill")
|
|
42
|
+
export_skill_parser.add_argument("entry_id")
|
|
43
|
+
export_skill_parser.add_argument("--output", required=True, help="Destination directory")
|
|
44
|
+
export_skill_parser.add_argument("--force", action="store_true", help="Replace an existing export")
|
|
45
|
+
|
|
46
|
+
export_agent_parser = export_commands.add_parser("agent", help="Export one specialist agent")
|
|
47
|
+
export_agent_parser.add_argument("entry_id")
|
|
48
|
+
export_agent_parser.add_argument("--output", required=True, help="Destination directory")
|
|
49
|
+
export_agent_parser.add_argument("--include-skills", action="store_true", help="Also export its declared skills")
|
|
50
|
+
export_agent_parser.add_argument("--force", action="store_true", help="Replace existing exports")
|
|
51
|
+
|
|
52
|
+
export_context_parser = export_commands.add_parser("context", help="Export composed agent context")
|
|
53
|
+
export_context_parser.add_argument("entry_id")
|
|
54
|
+
export_context_parser.add_argument("--output", required=True, help="Destination directory")
|
|
55
|
+
export_context_parser.add_argument("--include-optional", action="store_true", help="Include optional skills")
|
|
56
|
+
export_context_parser.add_argument("--force", action="store_true", help="Replace an existing export")
|
|
57
|
+
|
|
58
|
+
export_copilot_parser = export_commands.add_parser(
|
|
59
|
+
"copilot-agent", help="Export a least-privilege GitHub Copilot custom agent"
|
|
60
|
+
)
|
|
61
|
+
export_copilot_parser.add_argument("entry_id")
|
|
62
|
+
export_copilot_parser.add_argument("--output", required=True, help="Destination repository root")
|
|
63
|
+
export_copilot_parser.add_argument("--include-optional", action="store_true")
|
|
64
|
+
export_copilot_parser.add_argument(
|
|
65
|
+
"--target", choices=("github-copilot", "vscode"), default="github-copilot",
|
|
66
|
+
help="Target Copilot cloud/CLI or the VS Code local harness",
|
|
67
|
+
)
|
|
68
|
+
export_copilot_parser.add_argument("--force", action="store_true")
|
|
69
|
+
|
|
70
|
+
export_copilot_skill_parser = export_commands.add_parser(
|
|
71
|
+
"copilot-skill", help="Export a GitHub Copilot project Agent Skill"
|
|
72
|
+
)
|
|
73
|
+
export_copilot_skill_parser.add_argument("entry_id")
|
|
74
|
+
export_copilot_skill_parser.add_argument("--output", required=True, help="Destination repository root")
|
|
75
|
+
export_copilot_skill_parser.add_argument("--force", action="store_true")
|
|
76
|
+
|
|
77
|
+
commands.add_parser("version", help="Display the installed version")
|
|
78
|
+
|
|
79
|
+
mcp = commands.add_parser("mcp", help="Run the optional Model Context Protocol server")
|
|
80
|
+
mcp_commands = mcp.add_subparsers(dest="mcp_command")
|
|
81
|
+
serve = mcp_commands.add_parser("serve", help="Start the read-only SFAA MCP server")
|
|
82
|
+
serve.add_argument("--transport", choices=("stdio", "streamable-http"), default="stdio")
|
|
83
|
+
serve.add_argument("--host", default="127.0.0.1", help="HTTP bind host; remote hosts are rejected")
|
|
84
|
+
serve.add_argument("--port", type=int, default=8765)
|
|
85
|
+
|
|
86
|
+
args = parser.parse_args(argv)
|
|
87
|
+
|
|
88
|
+
if args.command in (None, "version"):
|
|
89
|
+
print(f"SFAA {__version__}")
|
|
90
|
+
return 0
|
|
91
|
+
if args.command == "update":
|
|
92
|
+
return update(check_only=args.check, channel=args.channel, target_version=args.target_version)
|
|
93
|
+
if args.command == "export":
|
|
94
|
+
if args.export_kind is None:
|
|
95
|
+
export.print_help()
|
|
96
|
+
return 0
|
|
97
|
+
from .export import export_agent, export_agent_context, export_copilot_agent, export_copilot_skill, export_skill
|
|
98
|
+
sdk = SFAA()
|
|
99
|
+
try:
|
|
100
|
+
if args.export_kind == "skill":
|
|
101
|
+
outputs = [export_skill(sdk, args.entry_id, args.output, overwrite=args.force)]
|
|
102
|
+
elif args.export_kind == "agent":
|
|
103
|
+
outputs = export_agent(
|
|
104
|
+
sdk, args.entry_id, args.output,
|
|
105
|
+
include_skills=args.include_skills, overwrite=args.force,
|
|
106
|
+
)
|
|
107
|
+
elif args.export_kind == "context":
|
|
108
|
+
outputs = [export_agent_context(
|
|
109
|
+
sdk, args.entry_id, args.output,
|
|
110
|
+
include_optional=args.include_optional, overwrite=args.force,
|
|
111
|
+
)]
|
|
112
|
+
elif args.export_kind == "copilot-agent":
|
|
113
|
+
outputs = [export_copilot_agent(
|
|
114
|
+
sdk, args.entry_id, args.output,
|
|
115
|
+
include_optional=args.include_optional, target=args.target,
|
|
116
|
+
overwrite=args.force,
|
|
117
|
+
)]
|
|
118
|
+
else:
|
|
119
|
+
outputs = [export_copilot_skill(
|
|
120
|
+
sdk, args.entry_id, args.output, overwrite=args.force,
|
|
121
|
+
)]
|
|
122
|
+
except (OSError, ValueError, LookupError) as exc:
|
|
123
|
+
print(f"SFAA export error: {exc}", file=sys.stderr)
|
|
124
|
+
return 2
|
|
125
|
+
for output in outputs:
|
|
126
|
+
print(output)
|
|
127
|
+
return 0
|
|
128
|
+
if args.command == "mcp":
|
|
129
|
+
if args.mcp_command != "serve":
|
|
130
|
+
mcp.print_help()
|
|
131
|
+
return 0
|
|
132
|
+
from .mcp.server import run_server
|
|
133
|
+
try:
|
|
134
|
+
run_server(transport=args.transport, host=args.host, port=args.port)
|
|
135
|
+
except (RuntimeError, ValueError) as exc:
|
|
136
|
+
print(f"SFAA MCP error: {exc}", file=sys.stderr)
|
|
137
|
+
return 2
|
|
138
|
+
return 0
|
|
139
|
+
try:
|
|
140
|
+
sdk = SFAA()
|
|
141
|
+
if args.command == "list":
|
|
142
|
+
entries = getattr(sdk, args.kind).list(category=args.category)
|
|
143
|
+
elif args.command == "search":
|
|
144
|
+
entries = getattr(sdk, args.kind).search(
|
|
145
|
+
args.query, limit=args.limit, category=args.category
|
|
146
|
+
)
|
|
147
|
+
else:
|
|
148
|
+
entry = (
|
|
149
|
+
sdk.skills.get(args.entry_id)
|
|
150
|
+
if args.kind == "skill"
|
|
151
|
+
else sdk.agents.get(args.entry_id)
|
|
152
|
+
)
|
|
153
|
+
print(entry.content.rstrip())
|
|
154
|
+
return 0
|
|
155
|
+
except (OSError, ValueError, LookupError) as exc:
|
|
156
|
+
print(f"SFAA error: {exc}", file=sys.stderr)
|
|
157
|
+
return 2
|
|
158
|
+
|
|
159
|
+
for entry in entries:
|
|
160
|
+
print(f"{entry.id}\t{entry.name}\t[{entry.category}]\t{entry.description}")
|
|
161
|
+
print(f"{len(entries)} result(s).", file=sys.stderr)
|
|
162
|
+
return 0
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
if __name__ == "__main__":
|
|
166
|
+
raise SystemExit(main())
|
sfaa/data/LICENSE
ADDED
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
Copyright 2026 Skills for All AI contributors
|
|
6
|
+
|
|
7
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
8
|
+
|
|
9
|
+
1. Definitions.
|
|
10
|
+
|
|
11
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
12
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
13
|
+
|
|
14
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
15
|
+
the copyright owner that is granting the License.
|
|
16
|
+
|
|
17
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
18
|
+
other entities that control, are controlled by, or are under common
|
|
19
|
+
control with that entity. For the purposes of this definition,
|
|
20
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
21
|
+
direction or management of such entity, whether by contract or
|
|
22
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
23
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
24
|
+
|
|
25
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
26
|
+
exercising permissions granted by this License.
|
|
27
|
+
|
|
28
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
29
|
+
including but not limited to software source code, documentation
|
|
30
|
+
source, and configuration files.
|
|
31
|
+
|
|
32
|
+
"Object" form shall mean any form resulting from mechanical
|
|
33
|
+
transformation or translation of a Source form, including but
|
|
34
|
+
not limited to compiled object code, generated documentation,
|
|
35
|
+
and conversions to other media types.
|
|
36
|
+
|
|
37
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
38
|
+
Object form, made available under the License, as indicated by a
|
|
39
|
+
copyright notice that is included in or attached to the work
|
|
40
|
+
(an example is provided in the Appendix below).
|
|
41
|
+
|
|
42
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
43
|
+
form, that is based on (or derived from) the Work and for which the
|
|
44
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
45
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
46
|
+
of this License, Derivative Works shall not include works that remain
|
|
47
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
48
|
+
the Work and Derivative Works thereof.
|
|
49
|
+
|
|
50
|
+
"Contribution" shall mean any work of authorship, including
|
|
51
|
+
the original version of the Work and any modifications or additions
|
|
52
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
53
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
54
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
55
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
56
|
+
means any form of electronic, verbal, or written communication sent
|
|
57
|
+
to the Licensor or its representatives, including but not limited to
|
|
58
|
+
communication on electronic mailing lists, source code control systems,
|
|
59
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
60
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
61
|
+
excluding communication that is conspicuously marked or otherwise
|
|
62
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
63
|
+
|
|
64
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
65
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
66
|
+
subsequently incorporated within the Work.
|
|
67
|
+
|
|
68
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
69
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
70
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
71
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
72
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
73
|
+
Work and such Derivative Works in Source or Object form.
|
|
74
|
+
|
|
75
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
76
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
77
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
78
|
+
(except as stated in this section) patent license to make, have made,
|
|
79
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
80
|
+
where such license applies only to those patent claims licensable
|
|
81
|
+
by such Contributor that are necessarily infringed by their
|
|
82
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
83
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
84
|
+
institute patent litigation against any entity (including a
|
|
85
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
86
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
87
|
+
or contributory patent infringement, then any patent licenses
|
|
88
|
+
granted to You under this License for that Work shall terminate
|
|
89
|
+
as of the date such litigation is filed.
|
|
90
|
+
|
|
91
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
92
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
93
|
+
modifications, and in Source or Object form, provided that You
|
|
94
|
+
meet the following conditions:
|
|
95
|
+
|
|
96
|
+
(a) You must give any other recipients of the Work or
|
|
97
|
+
Derivative Works a copy of this License; and
|
|
98
|
+
|
|
99
|
+
(b) You must cause any modified files to carry prominent notices
|
|
100
|
+
stating that You changed the files; and
|
|
101
|
+
|
|
102
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
103
|
+
that You distribute, all copyright, patent, trademark, and
|
|
104
|
+
attribution notices from the Source form of the Work,
|
|
105
|
+
excluding those notices that do not pertain to any part of
|
|
106
|
+
the Derivative Works; and
|
|
107
|
+
|
|
108
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
109
|
+
distribution, then any Derivative Works that You distribute must
|
|
110
|
+
include a readable copy of the attribution notices contained
|
|
111
|
+
within such NOTICE file, excluding those notices that do not
|
|
112
|
+
pertain to any part of the Derivative Works, in at least one
|
|
113
|
+
of the following places: within a NOTICE text file distributed
|
|
114
|
+
as part of the Derivative Works; within the Source form or
|
|
115
|
+
documentation, if provided along with the Derivative Works; or,
|
|
116
|
+
within a display generated by the Derivative Works, if and
|
|
117
|
+
wherever such third-party notices normally appear. The contents
|
|
118
|
+
of the NOTICE file are for informational purposes only and
|
|
119
|
+
do not modify the License. You may add Your own attribution
|
|
120
|
+
notices within Derivative Works that You distribute, alongside
|
|
121
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
122
|
+
that such additional attribution notices cannot be construed
|
|
123
|
+
as modifying the License.
|
|
124
|
+
|
|
125
|
+
You may add Your own copyright statement to Your modifications and
|
|
126
|
+
may provide additional or different license terms and conditions
|
|
127
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
128
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
129
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
130
|
+
the conditions stated in this License.
|
|
131
|
+
|
|
132
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
133
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
134
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
135
|
+
this License, without any additional terms or conditions.
|
|
136
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
137
|
+
the terms of any separate license agreement you may have executed
|
|
138
|
+
with Licensor regarding such Contributions.
|
|
139
|
+
|
|
140
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
141
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
142
|
+
except as required for reasonable and customary use in describing the
|
|
143
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
144
|
+
|
|
145
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
146
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
147
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
148
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
149
|
+
implied, including, without limitation, any warranties or conditions
|
|
150
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
151
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
152
|
+
appropriateness of using or redistributing the Work and assume any
|
|
153
|
+
risks associated with Your exercise of permissions under this License.
|
|
154
|
+
|
|
155
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
156
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
157
|
+
unless required by applicable law (such as deliberate and grossly
|
|
158
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
159
|
+
liable to You for damages, including any direct, indirect, special,
|
|
160
|
+
incidental, or consequential damages of any character arising as a
|
|
161
|
+
result of this License or out of the use or inability to use the
|
|
162
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
163
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
164
|
+
other commercial damages or losses), even if such Contributor
|
|
165
|
+
has been advised of the possibility of such damages.
|
|
166
|
+
|
|
167
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
168
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
169
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
170
|
+
or other liability obligations and/or rights consistent with this
|
|
171
|
+
License. However, in accepting such obligations, You may act only
|
|
172
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
173
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
174
|
+
defend, and hold each Contributor harmless for any liability
|
|
175
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
176
|
+
of your accepting any such warranty or additional liability.
|
|
177
|
+
|
|
178
|
+
END OF TERMS AND CONDITIONS
|
|
179
|
+
|
|
180
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
181
|
+
|
|
182
|
+
To apply the Apache License to your work, attach the following
|
|
183
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
184
|
+
replaced with your own identifying information. (Don't include
|
|
185
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
186
|
+
comment syntax for the file format. We also recommend that a
|
|
187
|
+
file or class name and description of purpose be included on the
|
|
188
|
+
same "printed page" as the copyright notice for easier
|
|
189
|
+
identification within third-party archives.
|
|
190
|
+
|
|
191
|
+
Copyright [yyyy] [name of copyright owner]
|
|
192
|
+
|
|
193
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
194
|
+
you may not use this file except in compliance with the License.
|
|
195
|
+
You may obtain a copy of the License at
|
|
196
|
+
|
|
197
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
198
|
+
|
|
199
|
+
Unless required by applicable law or agreed to in writing, software
|
|
200
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
201
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
202
|
+
See the License for the specific language governing permissions and
|
|
203
|
+
limitations under the License.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
Creative Commons Attribution 4.0 International (CC BY 4.0)
|
|
2
|
+
|
|
3
|
+
Unless a file states otherwise, the written skill and agent content in this repository is licensed under the Creative Commons Attribution 4.0 International license.
|
|
4
|
+
|
|
5
|
+
You are free to share and adapt the material for any purpose, including commercially, provided you give appropriate credit, provide a link to the license, and indicate if changes were made. You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.
|
|
6
|
+
|
|
7
|
+
Full legal code: https://creativecommons.org/licenses/by/4.0/legalcode
|
|
8
|
+
License summary: https://creativecommons.org/licenses/by/4.0/
|