From agent-capability-standard
Quantify values with uncertainty bounds. Use when estimating metrics, calculating risk scores, assessing magnitude, or measuring any quantifiable property.
npx claudepluginhub synaptiai/synapti-marketplace --plugin agent-capability-standardThis skill is limited to using the following tools:
Quantify a specific metric for a target, providing a numerical value with explicit uncertainty bounds. This capability consolidates all estimation tasks (risk, impact, effort, etc.) into a single parameterized operation.
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.
Quantify a specific metric for a target, providing a numerical value with explicit uncertainty bounds. This capability consolidates all estimation tasks (risk, impact, effort, etc.) into a single parameterized operation.
Success criteria:
Compatible schemas:
schemas/output_schema.yaml| Parameter | Required | Type | Description |
|---|---|---|---|
target | Yes | any | What to measure (system, code, entity, process) |
metric | Yes | string | The metric to quantify (risk, complexity, effort, size, etc.) |
unit | No | string | Unit of measurement (optional, inferred if not provided) |
method | No | string | Measurement approach (heuristic, statistical, model-based) |
Define the metric: Clarify exactly what is being measured
Gather measurement inputs: Collect data needed for measurement
Calculate measurement: Apply measurement method to inputs
Establish uncertainty bounds: Quantify measurement confidence
Ground the measurement: Document evidence and method
Return a structured object:
value: number # The measured value
uncertainty:
lower: number # Lower bound (confidence interval)
upper: number # Upper bound (confidence interval)
type: string # Type of uncertainty (confidence_interval, range, std_dev)
unit: string # Unit of measurement
metric: string # What was measured
method: string # How it was measured
breakdown: # Optional component breakdown
- component: string
value: number
confidence: 0..1 # Confidence in measurement accuracy
evidence_anchors: ["file:line", "data:source"]
assumptions: []
| Field | Type | Description |
|---|---|---|
value | number | Primary measurement value |
uncertainty | object | Bounds and type of uncertainty |
unit | string | Unit of measurement |
metric | string | Name of measured property |
method | string | Measurement methodology used |
breakdown | array | Optional decomposition of measurement |
Input:
target: "src/services/order_processor.rb"
metric: "complexity"
unit: "cyclomatic"
Output:
value: 24
uncertainty:
lower: 22
upper: 26
type: "range"
unit: "cyclomatic complexity"
metric: "complexity"
method: "counted decision points (if, case, loops, &&, ||)"
breakdown:
- component: "process_order method"
value: 12
- component: "validate_items method"
value: 8
- component: "calculate_totals method"
value: 4
confidence: 0.9
evidence_anchors:
- "src/services/order_processor.rb:15-120"
assumptions:
- "Ruby control flow statements counted as decision points"
- "Exception handling counted as branches"
Input:
target: "database migration: add user_preferences column"
metric: "risk"
method: "probability_impact"
Output:
value: 0.35
uncertainty:
lower: 0.25
upper: 0.50
type: "confidence_interval_90"
unit: "risk score (0-1)"
metric: "risk"
method: "probability (0.5) * impact (0.7) normalized"
breakdown:
- component: "probability_of_failure"
value: 0.5
- component: "impact_if_failed"
value: 0.7
- component: "data_loss_risk"
value: 0.2
- component: "downtime_risk"
value: 0.4
confidence: 0.7
evidence_anchors:
- "migrations/20240115_add_preferences.rb:1-25"
- "tool:grep:similar_migrations"
assumptions:
- "Table has ~1M rows based on user count"
- "Migration will lock table during ALTER"
- "No concurrent deployments during migration"
Verification tools: Read (to verify measurement inputs)
mutation: falserequires_checkpoint: falserequires_approval: falserisk: lowCapability-specific rules:
Commonly follows:
observe - Measure properties of observed statedetect - Measure characteristics of detected itemsretrieve - Measure retrieved dataCommonly precedes:
predict - Measurements feed into predictionscompare - Measurements enable quantitative comparisonplan - Measurements inform risk-aware planningAnti-patterns:
detect)classify)Workflow references:
reference/workflow_catalog.yaml#digital_twin_sync_loop for risk measurement