Install
$ agentstack add skill-miaoy0ushan-fp-metrics ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
FP: Metrics
Metrics expose missing evidence; they do not manufacture proof that FP is efficient.
Use When
- A canonical Evidence Ledger exists.
- The user asks for measurement, a release needs evaluation, or adaptive improvement needs quantitative support.
- Planned files and required checks can be obtained from the Execution Brief.
Skip trivial work. Without a required-check contract, verified task count is unknown. Without verified progress, TVP is undefined. Without a comparable baseline, make no improvement or efficiency claim.
Metrics
TVP = exact_context_tokens / verified_tasks_completed
Context Load Proxy = files_read + observed_skills_loaded + observed_reports_used
Proxy TVP = context_load_proxy / verified_tasks_completed
Scope Creep Rate = unplanned_files_touched / files_touched
Verification Rate = tasks whose required checks all passed / completed tasks
Rework Rate = failed_or_reopened_tasks / completed tasks
Counts must come from metrics_inputs, the brief, or ledger arrays. Missing values stay unknown/null; never hardcode defaults.
For one task, verified progress requires all of:
result=pass;- a brief with at least one required check;
- every required check was run and passed;
- no failed check;
- at least one evidenced verified claim;
- no contract, scope, or context-budget violation.
Evaluation Quality
When comparing approaches, hold task, agent/model, repository revision, and acceptance checks constant; use fresh isolated workspaces, repeat runs, preserve raw artifacts, and score functional verification/safety separately from tokens or lines changed. Disclose contamination, timeouts, sample size, and limitations.
Procedure
- Validate the canonical ledger and brief.
- Read observed metric inputs; do not estimate missing counts.
- Calculate only defined metrics.
- State facts separately from comparisons.
- Recommend adaptive improvement only when evidence supports a reusable change.
Run:
node fp/metrics/collect.js [execution-brief.json]
Use templates/metrics-report.md for a manual report. The collector supports legacy Markdown for one migration cycle and prints a warning; JSON v1 is canonical.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: MiaoY0uShan
- Source: MiaoY0uShan/FP
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.