Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Use when working in a repo with agentacct MCP configured, or when asked to track coding-agent work, smoke-test agentacct integrations, or report objective AI-agent task evidence.
.claude/skills/mikehasa-agentacct-workflow/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-07 | ✗→✓ | ▲ Improved | 102% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 308% | 0% |
| case-12 | ✗→✓ | ▲ Improved | 85% | 0% |
| case-14 | ✗→✓ | ▲ Improved | 172% | 0% |
| case-22 | ✗→✓ | ▲ Improved | 46% | 0% |
Use agentacct as a lightweight workflow ledger for AI-agent work. When the agentacct MCP tools are available, record a compact timeline of meaningful work rather than relying only on final chat summaries.
This skill does not mean agentacct automatically sees every token or exact provider bill. MCP events, local usage imports, and provider/proxy cost enforcement are separate capabilities.
Use this skill when:
agentacct_record_event are available.Do not use this skill to claim exact billing unless the run used a supported usage importer or provider/proxy path.
agentacct_attach_client_context:textsource: hermes or the active coding-agent name client: hermes, claude-code, codex, opencode, openclaw, or other client_session_id: local session/thread id client_transcript_id: local transcript/log id if known parent_client_session_id: parent/root session id if this is a child agent turn_id/message_id/request_id: current ids if known client_event_timestamp: client timestamp if known
agentacct_record_section:textsection_id: short stable id for this piece of work section_status: started section_title: concise task description source: hermes or the active coding-agent name run_id: stable task/session id if known
agentacct_record_section with the same section_id and section_status=checkpoint):Sections are the work contract. Use section_status=started, checkpoint, completed, or blocked, and include client/session/turn identifiers when known.
agentacct_record_agent_usage_debug:textreporting_basis: visible_client_usage source/client/client_session_id: same values used for context when known provider/model: visible provider and model if known input_tokens/output_tokens/cache_read_input_tokens/reasoning_output_tokens/cost_usd: only fields actually visible
If the client does not expose token/cost usage, call the same tool with reporting_basis: unavailable and a short summary. Do not guess.
agentacct_record_machine_check when available.agentacct_record_event with a compact test/build result.agentacct_record_section:textsection_id: same section id section_status: completed summary: what changed, with tests, builds, diffs, tool calls, token/cost evidence actually observed
agentacct_record_section with section_status=blocked:textsection_id: same section id section_status: blocked blocker: concrete blocker next_step: what would unblock it
Keep these separate:
Do not say agentacct hard-stopped, billed exactly, or tracked all sessions unless the relevant enforcement/import/proxy path was actually used.
If agentacct MCP is configured, call agentacct tools directly. For one-shot work, load this skill explicitly:
bashhermes chat -s agentacct-workflow -q "..."
OpenCode should receive equivalent instructions through repo AGENTS.md or a custom OpenCode agent. For smoke tests, use --format json when token/cost fields are needed.
Confirm the actual workspace path before reading repo files. If OpenClaw is running from an isolated workspace that does not contain the repo, record a blocker/workspace mismatch instead of pretending file inspection succeeded.
textUse agentacct MCP to record a section with agentacct_record_section (section_status=started). Inspect the integration docs if available. Record the same section with section_status=completed and one objective finding in the summary. Reply exactly SENTINEL_WORKFLOW_OK.
agentacct_record_section was called with section_status=started.agentacct_attach_client_context was used when local ids were available.agentacct_record_agent_usage_debug was called with visible usage or reporting_basis=unavailable.Other measured skills in the registry, with their headline benchmark lift.