From agent-capability-standard
Analyze a task description to detect required capabilities from the ontology, identify gaps, and synthesize a valid workflow automatically. Trigger: "discover capabilities", "what capabilities do I need", "analyze task", "synthesize workflow"
npx claudepluginhub synaptiai/synapti-marketplace --plugin agent-capability-standardThis skill is limited to using the following tools:
Execute **discover-capabilities** to analyze a natural language task description and automatically:
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Generates original PNG/PDF visual art via design philosophy manifestos for posters, graphics, and static designs on user request.
Execute discover-capabilities to analyze a natural language task description and automatically:
This skill bridges the gap between "I want to do X" and "here are the specific capabilities and workflow steps needed to do X safely."
Success criteria:
Compatible schemas:
schemas/capability_ontology.yamlschemas/workflow_catalog.yaml| Parameter | Required | Type | Description |
|---|---|---|---|
task_description | Yes | string | Natural language description of the task to analyze |
domain | No | string | Domain context for specialization (e.g., "security", "data-pipeline") |
Load ontology context: Read the capability ontology to understand available capabilities
schemas/capability_ontology.yaml via CapabilityRegistryschemas/workflow_catalog.yaml via WorkflowEngineAnalyze task: Decompose the task into atomic capability requirements
Classify matches: Validate and filter capability matches
Detect gaps: For unmatched requirements
Synthesize workflow: Build a valid workflow from matched capabilities
requires edges)checkpoint before mutations, audit at end)precedes edge orderingconflicts_with violationsPresent results: Format and display the discovery output
Return a structured object:
capabilities:
- id: string # ontology capability ID
confidence: number # 0.0-1.0
reasoning: string # why this capability was matched
domain: string # domain parameter if applicable
gaps:
- description: string
proposed_capability:
id: string
layer: string
risk: string
workflow:
name: string
steps: array # ordered workflow steps
confidence: number # overall workflow confidence
confidence: number # overall discovery confidence 0.0-1.0
evidence_anchors: array # provenance trail
| Field | Type | Description |
|---|---|---|
capabilities | array | Matched ontology capabilities with scores |
gaps | array | Unmatched requirements with proposals |
workflow | object | Synthesized or matched existing workflow |
confidence | number | Overall confidence (0.0-1.0) |
evidence_anchors | array | Discovery provenance trail |
Input:
task_description: "Find all Python files with TODO comments"
Output:
capabilities:
- id: search
confidence: 0.95
reasoning: "'Find' maps to search capability for discovering items under uncertainty"
- id: detect
confidence: 0.85
reasoning: "'TODO comments' requires pattern detection within found files"
domain: pattern
gaps: []
workflow:
name: find_python_files_with_todo
steps:
- capability: search
purpose: Find Python files in the codebase
store_as: search_out
- capability: detect
purpose: Detect TODO patterns in found files
domain: pattern
store_as: detect_out
input_bindings:
source: ${search_out}
confidence: 0.9
confidence: 0.9
Input:
task_description: "Delete old log files older than 30 days"
Output:
capabilities:
- id: search
confidence: 0.9
reasoning: "'log files' requires searching for matching files"
- id: detect
confidence: 0.8
reasoning: "'older than 30 days' requires date-based detection"
domain: time
- id: checkpoint
confidence: 1.0
reasoning: "Auto-added: mutation requires checkpoint for safety"
- id: mutate
confidence: 0.95
reasoning: "'Delete' is a persistent state mutation"
- id: audit
confidence: 1.0
reasoning: "Auto-added: mutation operations require audit trail"
gaps: []
workflow:
name: delete_old_log_files
steps:
- capability: search
purpose: Find log files in the system
store_as: search_out
- capability: detect
purpose: Filter files older than 30 days
domain: time
store_as: detect_out
- capability: checkpoint
purpose: Create safety checkpoint before deletion
store_as: checkpoint_out
- capability: mutate
purpose: Delete the identified old log files
store_as: mutate_out
requires_checkpoint: true
- capability: audit
purpose: Record deletion actions for audit trail
store_as: audit_out
confidence: 0.93
confidence: 0.93
Verification tools: Read, Grep, Bash
mutation: falserequires_checkpoint: falserequires_approval: falserisk: lowCapability-specific rules:
Commonly follows:
inquire - User provides task description via promptretrieve - Load ontology and workflow catalogCommonly precedes:
plan - Use discovered capabilities to plan implementationinvoke - Execute the synthesized workflowgenerate - Scaffold new capability files for gap proposalsAnti-patterns:
Workflow references:
schemas/workflow_catalog.yaml for existing workflow patternsschemas/capability_ontology.yaml for the full ontology