flow-metrics
Record and compute the Agentic Software Factory metrics from an append-only event log (metrics/events.jsonl): validate and append events, then print a…
Skill by ALTEN-group
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/alten-group-flow-metrics
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, data, sales
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/flow-metrics
What's inside
- Skill name
flow-metrics- Description
- Record and compute the Agentic Software Factory metrics from an append-only event log (metrics/events.jsonl): validate and append events, then print a Markdown or JSON report of flow, per-stage, AI-leverage, and outcome metrics with targets and ok/warn/unknown status. Use when a pipeline must emit a delivery event, when preparing the monthly operating-model retrospective, or when checking lead time, first-pass green rate, fix loops, change failure rate, or cost per merged change.
- License
- MIT
- Instructions
- 46 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (7)
- SKILL.md
- metrics-contract.md · references/
- emit-event.mjs · scripts/
- emit-event.test.mjs · scripts/
- flow-metrics.mjs · scripts/
- flow-metrics.test.mjs · scripts/
- metrics-fixture.mjs · scripts/
SKILL.md (first lines)
# Flow Metrics Compute the factory's small, deliberate set of metrics from timestamps the pipeline already records. Nothing is timed by hand, and the same log always gives the same report. ## When to Use This Skill - A pipeline step (meeting transcribed, issue ranked, first Code run, first CI run, merge, release, incident, hypothesis closed) must record an event. - The monthly operating-model retrospective, or the weekly review, needs lead time, deployment frequency, change failure rate, time to restore, and the per-stage metrics. - A metric must be checked against the factory's target before a decision depends on it. ## Path resolution Resolve `references/` and `scripts/` relative to **this skill's install directory** (the folder that contains this `SKILL.md`), not the consumer repository root or the current shell cwd. If the skill was installed under `.agents/skills/flow-metrics/` or `.claude/skills/flow-metrics/`, use that base path. ## Workflow 1. **Read `references/metrics-contract.md` now.** It is the authoritative source for event types, fields, formulas, thresholds, and what is deliberately not measured. 2. Emit events from the pipeline. The script validates the shape and appends one line to the log: ```bash node scripts/emit-event.mjs --log metrics/events.jsonl --type code.first_run --id issue-42 --field green=true node scripts/emit-event.mjs --log metrics/events.jsonl --type release.production --id issue-42 --field percent=100 node scripts/emit-event.mjs --log metrics/events.jsonl --type ai.cost --id issue-42 \ --field usd=1.25 --field stage=code --field change=issue-42 node scripts/emit-event.mjs --log metrics/events.jsonl --type pr.authorship --id issue-42 --field ai_lines=240 --field human_lines=0 node scripts/emit-event.mjs --log metrics/events.jsonl --type usecase.run --id issue-42 --field usecase=automated-test-creation \ --field minutes=22 --field iterations=2 --field usd=0.4 --field human_intervention=false --field first_pass=true ``` 3. Compute the report. A line that is not a valid event stops the run; fix it rather than skipping it: ```bash node scripts/flow-metrics.mjs --events metrics/events.jsonl --since 2026-09-01 --until 2026-09-30 node scripts/flow-metrics.mjs --events metrics/events.jsonl --json ``` 4. Read the report by stage. `warn` names a metric that misses its factory target; `unknown` means no events yet; trend-only metrics never warn. Act on a `warn` by improving Persistent Context, controls, or Plan quality, not by pressing people. 5. Never add lines of code, story points, or editor suggestion acceptance. They are deliberately not measured. ## Done When - Every emitted event passed `emit-event.mjs` with exit code 0. - `flow-metrics.mjs` produced the report with exit code 0 on the whole log, including an empty one. - No metric was computed by hand or taken from outside the event log.
From ALTEN-group/coding-pal, MIT.
More from ALTEN-group/coding-pal
- 0.624score
angular-admin-examples
ALTEN-group
Scaffold or match Angular admin CRUD entity slices (model/conf/service, thin feature component, protected routes, resolvers).
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
incident-record
ALTEN-group
Author and validate incident records (docs/incidents/<date>-<slug>.md): detect, mitigate first, diagnose with correlated evidence, repair with a failing test…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
learn-signals
ALTEN-group
Close the Learn loop: turn validated incident records, invalidated hypotheses, and high severity telemetry findings into Triage backlog issue bodies (labels…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
meeting-pack
ALTEN-group
Structure, validate, and hand off persistent Meeting Packs from client meeting transcripts: normalize a plain-text transcript, build a pack (summary…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
migration-docs
ALTEN-group
Structure, author, and validate the migration documentation set (assessment.md, migration-plan.md, runbook.md) for moving an application from one…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
mutation-bar
ALTEN-group
Gate a change on its Mutation Testing Bar: read a Stryker mutation-testing-elements JSON (or a generic killed/survived summary), compute the mutation score…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
code-loop
ALTEN-group
Drive the Code stage one plan step at a time with persistent progress, enforce the fix-loop limit, and guard agent branches.
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
context-health
ALTEN-group
Check the health of Persistent Context and prepare the weekly Persistent Context & Controls review: lint instruction files (missing description, broad…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
contract-compat
ALTEN-group
Classify the differences between two OpenAPI 3.x JSON documents (or two JSON Schemas, with local $ref resolved) as BREAKING or compatible, and fail on any…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
control-guard
ALTEN-group
Fail a change that weakens a deterministic control (deleted or skipped tests, lowered thresholds, disabled workflow steps, edited control files, added…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
criteria-verify
ALTEN-group
Prove that every acceptance criterion (AC-<n>) in a plan.md has at least one passing test and that no test mapped to a criterion failed, by reading JUnit XML…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
decision-record
ALTEN-group
Structure, draft, validate, and track the Architect's decision records (docs/decisions/NNNN-slug.md) and escalations with a default date.
SkillAFreshness: A★ 5Claude Code +9
Signals
- Stars
- 5
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 13, 2026 (16 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/ALTEN-group/coding-pal
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from ALTEN-group
- 0.624score
angular-admin-examples
ALTEN-group
Scaffold or match Angular admin CRUD entity slices (model/conf/service, thin feature component, protected routes, resolvers).
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
control-guard
ALTEN-group
Fail a change that weakens a deterministic control (deleted or skipped tests, lowered thresholds, disabled workflow steps, edited control files, added…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
context-health
ALTEN-group
Check the health of Persistent Context and prepare the weekly Persistent Context & Controls review: lint instruction files (missing description, broad…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
contract-compat
ALTEN-group
Classify the differences between two OpenAPI 3.x JSON documents (or two JSON Schemas, with local $ref resolved) as BREAKING or compatible, and fail on any…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
code-loop
ALTEN-group
Drive the Code stage one plan step at a time with persistent progress, enforce the fix-loop limit, and guard agent branches.
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
criteria-verify
ALTEN-group
Prove that every acceptance criterion (AC-<n>) in a plan.md has at least one passing test and that no test mapped to a criterion failed, by reading JUnit XML…
SkillAFreshness: A★ 5Claude Code +9
Cite this page
flow-metrics skill. Agent Mart. https://agentmart.dev/skills/alten-group-flow-metrics (last updated 2026-10-24)