# Fp Metrics

> Use only when routed by FP after a canonical Evidence Ledger and when measurement or a comparable baseline matters.

- **Type:** Skill
- **Install:** `agentstack add skill-miaoy0ushan-fp-metrics`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [MiaoY0uShan](https://agentstack.voostack.com/s/miaoy0ushan)
- **Installs:** 0
- **Category:** [Data & Analytics](https://agentstack.voostack.com/c/data-and-analytics)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [MiaoY0uShan](https://github.com/MiaoY0uShan)
- **Source:** https://github.com/MiaoY0uShan/FP/tree/main/install/aider/fp/metrics

## Install

```sh
agentstack add skill-miaoy0ushan-fp-metrics
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## 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

```text
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

1. Validate the canonical ledger and brief.
2. Read observed metric inputs; do not estimate missing counts.
3. Calculate only defined metrics.
4. State facts separately from comparisons.
5. Recommend adaptive improvement only when evidence supports a reusable change.

Run:

```text
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](https://github.com/MiaoY0uShan)
- **Source:** [MiaoY0uShan/FP](https://github.com/MiaoY0uShan/FP)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-miaoy0ushan-fp-metrics
- Seller: https://agentstack.voostack.com/s/miaoy0ushan
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
