EngramGraph: Skill for Claude Code

.agents/skills/metrics-dashboard-assistant/SKILL.md

metrics is a skill for Claude Code from AsiaOstrich/EngramGraph. It costs 103 tokens per session (2,071 once invoked), scanned A, original, MIT.

A tool for tracking development measures such as code quality, test health, commit patterns, technical debt, and dependency health over time.

In plain words
What is it for?
Use it for project health checks, quality and test reports, debt trend analysis, and dependency reviews.
Why use it?
It brings scattered project-health signals into reports and shows whether issues such as technical debt are growing or shrinking.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: installed under .agents/ (shared by several agents).

This is AsiaOstrich/EngramGraph's own configuration. It tells Claude Code how to work on EngramGraph itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything EngramGraph configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is 完整的 AI 行為定義請參閱對應的命令文件:[`/metrics`](../commands/metrics.md#ai-agent-behavior--ai-代理行為).

Reuse

Borrowing it

Nothing to install: this file belongs to AsiaOstrich/EngramGraph. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/AsiaOstrich/EngramGraph/main/.agents/skills/metrics-dashboard-assistant/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/AsiaOstrich/EngramGraph

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for metrics

README.md
[![agentmods](https://agentmods.dev/badge/skills/asiaostrich/engramgraph/metrics-dashboard-assistant/github.svg)](https://agentmods.dev/skills/asiaostrich/engramgraph/metrics-dashboard-assistant)
Your own site
<a href="https://agentmods.dev/skills/asiaostrich/engramgraph/metrics-dashboard-assistant"><img src="https://agentmods.dev/badge/skills/asiaostrich/engramgraph/metrics-dashboard-assistant/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for metrics

Your own site · 80×15
<a href="https://agentmods.dev/skills/asiaostrich/engramgraph/metrics-dashboard-assistant"><img src="https://agentmods.dev/badge/skills/asiaostrich/engramgraph/metrics-dashboard-assistant.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,071 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00103 $0.02071
Opus 5.5 $0.00041 $0.00828
Sonnet 5.5 $0.00021 $0.00414
Haiku 4.5 $0.00010 $0.00207

Measured 14d ago against content hash 7e813709b288, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

metrics scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 14d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/metrics-dashboard-assistant/SKILL.md · 175 lines

How it starts

The opening of the file, as written. The whole thing — 175 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Metrics Dashboard Assistant | 開發指標助手

Track development metrics, code quality indicators, and project health over time.

追蹤開發指標、程式碼品質指示器,以及專案隨時間的健康狀態。

Usage | 使用方式

Command Purpose 用途
/metrics Run full project health check 執行完整專案健康檢查
/metrics --quality Code quality metrics only 僅程式碼品質指標
/metrics --debt Classified technical debt report 分類技術債報告
/metrics --debt-trend Debt trend over time 技術債趨勢
/metrics --test Test health metrics 測試健康指標
/metrics src/ Scope to specific module 限定特定模組範圍

Metric Categories | 指標類別

Category Metrics 指標說明
Code Quality Complexity, duplication, lint warnings 複雜度、重複率、lint 警告
Test Health Coverage %, pass rate, flaky count 覆蓋率 %、通過率、不穩定測試數
Commit Quality Size, frequency, conventional format 大小、頻率、格式合規
Debt Tracking TODO/FIXME counts, age of issues, debt classification TODO/FIXME 數量、問題存在時間、債務分類
Dependency Health Outdated packages, vulnerability count 過時套件、漏洞數量

Technical Debt Classification | 技術債分類

Based on SQALE methodology and ISO/IEC 25010 maintainability characteristics.

基於 SQALE 方法和 ISO/IEC 25010 維護性子特性。

Category What to Measure 衡量項目 Detection Method
Code Debt TODO/FIXME, dead code, duplications TODO/FIXME、死碼、重複 Grep, lint
Test Debt Uncovered modules, low coverage areas 未覆蓋模組、低覆蓋區域 Coverage report
Design Debt Complexity hotspots (cyclomatic > 15), deep nesting 複雜度熱點、深層巢狀 Static analysis
Doc Debt Undocumented APIs, outdated docs 未文件化 API、過時文件 JSDoc/TypeDoc scan
Dependency Debt Outdated packages, known CVEs 過時套件、已知 CVE npm audit/outdated

Debt Report Format | 債務報告格式

## Technical Debt Report

**Date**: YYYY-MM-DD | **Debt Density**: N items per 1K lines

### Summary
| Category | Count | Severity | Est. Fix Time | Trend |
|----------|-------|----------|---------------|-------|
| Code Debt | 42 | Medium | 21h | ↑ +5 |
| Test Debt | 15 modules | High | 30h | → stable |
| Design Debt | 3 hotspots | High | 16h | ↓ -1 |
| Doc Debt | 8 APIs | Low | 8h | ↑ +2 |
| Dependency Debt | 5 outdated | Critical | 4h | → stable |

**Total Estimated Remediation**: 79 hours

### Top Priority Items
1. [CRITICAL] CVE-2024-XXXX in lodash — fix: npm update
2. [HIGH] src/parser/ complexity 28 — fix: extract methods
3. [HIGH] src/payments/ 0% coverage — fix: add IT tests

Read the full file on GitHub · 175 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 14d ago First seen · 175 lines · 103 tokens per session scan A 7e813709b288

Subscribe to this mod's changes

metrics is a skill published in the GitHub repository AsiaOstrich/EngramGraph (3 stars, last pushed today), licensed MIT. It adds 103 tokens to every session and 2,071 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-16.

Related

Other skills, from other repositories

kivgraph

Use Kivgraph's local MCP server to search symbols, read their source, and follow references, dependencies, cross-repository consumers and graph status in the indexed code graph.

Luqueee/kivgraph · 39 tokens

mushroom

Live graph memory for agents — query and create entities, derive relationships by rule, explain why two things are associated, read the graph at a past commit, ask what a change would do, and answer as one role. Trigger on: memory, remember, recall, relationship, entity, association, why are X and Y related, as of…

MatthewSherlin/mushroomdb · 0 tokens

omnigraph

Operate OmniGraph graphs and deployments. Use for .pg schemas, .gq queries, OmniGraph CLI commands, file:///s3:///az:// graph URIs, cluster.yaml, operator config, bearer-authenticated servers, graph-backed knowledge or memory, Blob values, embeddings, branches, commits, and change feeds. Apply especially before schema…

ModernRelay/omnigraph · 94 tokens

code-graph

This skill should be used when understanding code structure, finding dependencies between functions/classes, tracing call graphs, or exploring code relationships. Trigger phrases include 'code graph', 'call graph', 'who calls', 'what calls', 'find dependencies', 'code structure', 'inheritance', 'find paths'.

FalkorDB/code-graph · 64 tokens

usage

Query LeanKG knowledge graph for code understanding. Use when exploring a codebase, finding functions, tracing dependencies, or calculating impact radius.

FreePeak/LeanKG · 27 tokens

codestory-grounding

Use when discovering repository structure, tracing relationships, analyzing change impact, or validating CodeStory retrieval or an installed plugin through the CodeStory plugin MCP. Skip only for bounded inspection or editing of named files that does not require those operations.

TheGreenCedar/CodeStory · 52 tokens