Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By thedotmackv1.2.3MITIn 1 marketplace
Deprecated: merged into core. Lets Claude log its own task outcomes and query performance metrics, which it claims stay in a local SQLite database with no network calls.
Run automatically on Claude Code events. Claude doesn't decide.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
task-tracking, agent-metrics, performance-metrics, self-assessment, analytics, local-database, mcp, metrics ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
This plugin has been deprecated and merged into core.
All functionality from this plugin is now available in core. Please migrate:
# Uninstall this plugin
npx @thebushidocollective/han plugin uninstall hashi-han-metrics
# Install core instead
npx @thebushidocollective/han plugin install core
MCP server for agent task tracking and performance metrics. Enables self-reporting agents with objective validation.
The han-metrics plugin provides a Model Context Protocol (MCP) server that allows AI agents to track their work, report progress, and build a metrics database of their performance over time. This creates a foundation for:
All data is stored locally in a SQLite database at ~/.claude/metrics/metrics.db (or $CLAUDE_CONFIG_DIR/metrics/metrics.db if using a custom config directory) - no external services, complete privacy.
start_task with description and typeupdate_task to log progresscomplete_task or fail_task with self-assessmentquery_metrics// Agent begins implementing a feature
const { task_id } = await start_task({
description: "Implement user authentication flow",
type: "implementation",
estimated_complexity: "moderate"
});
// Agent logs progress
await update_task({
task_id,
notes: "Created login component and auth service"
});
// Agent completes with self-assessment
await complete_task({
task_id,
outcome: "success",
confidence: 0.85, // 85% confident in success
files_modified: ["src/auth/login.tsx", "src/services/auth.ts"],
tests_added: 12,
notes: "All tests passing, ready for review"
});
// Hook validation runs automatically (via Stop hooks)
// Results cross-referenced with agent self-assessment
Start tracking a new task. Returns a task_id for future updates.
Parameters:
description (string, required): Clear description of the tasktype (enum, required): One of implementation, fix, refactor, researchestimated_complexity (enum, optional): One of simple, moderate, complexReturns:
{
"task_id": "task-1234567890-abc123"
}
Example:
const result = await start_task({
description: "Fix memory leak in event listeners",
type: "fix",
estimated_complexity: "simple"
});
Update a task with progress notes or status changes.
Parameters:
task_id (string, required): Task ID from start_taskstatus (string, optional): Status updatenotes (string, optional): Progress notesReturns:
{
"success": true
}
Example:
await update_task({
task_id: "task-1234567890-abc123",
notes: "Identified leak in useEffect cleanup"
});
Mark a task as completed with outcome assessment.
Parameters:
task_id (string, required): Task ID from start_taskoutcome (enum, required): One of success, partial, failureconfidence (number, required): Confidence level 0-1 (used for calibration)files_modified (string[], optional): List of modified filestests_added (number, optional): Count of tests addednotes (string, optional): Completion notesReturns:
{
"success": true
}
Example:
await complete_task({
task_id: "task-1234567890-abc123",
outcome: "success",
confidence: 0.95,
files_modified: ["src/components/EventListener.tsx"],
tests_added: 3,
notes: "Memory leak fixed, verified with heap snapshots"
});
Mark a task as failed with detailed reason.
Parameters:
task_id (string, required): Task ID from start_taskreason (string, required): Reason for failureconfidence (number, optional): Confidence in failure assessment 0-1attempted_solutions (string[], optional): Solutions that were triednotes (string, optional): Additional notesReturns:
{
"success": true
}
Example:
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub thedotmack/han --plugin hashi-han-metricsPlugins from other owners that cover similar ground