Borrowing it
Nothing to install: this file belongs to mrgoonie/human-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/mrgoonie/human-mcp/main/.claude/commands/integrate/polar.mdgit clone --depth 1 https://github.com/mrgoonie/human-mcpWrote 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.
[](https://agentmods.dev/commands/mrgoonie/human-mcp/polar)<a href="https://agentmods.dev/commands/mrgoonie/human-mcp/polar"><img src="https://agentmods.dev/badge/commands/mrgoonie/human-mcp/polar/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.
<a href="https://agentmods.dev/commands/mrgoonie/human-mcp/polar"><img src="https://agentmods.dev/badge/commands/mrgoonie/human-mcp/polar.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00006 | $0.00535 |
| Opus 5 | $0.00003 | $0.00267 |
| Sonnet 5 | $0.00001 | $0.00107 |
| Haiku 4.5 | $0.00001 | $0.00053 |
Grade A, and why
polar 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 9d 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.
This is a copy
89% identical to cook — 49 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 43 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Think harder to plan & start implementing payment integration with Polar.sh follow the Orchestration Protocol, Core Responsibilities, Subagents Team and Development Rules: $ARGUMENTS
Workflow:
Fullfill the request
- If you don't have any questions, skip this step and go to
Planningstep. - If you have any questions, ask the user to clarify them.
- Ask 1 question at a time, wait for the user to answer before moving to the next question.
- Repeat this process until you have all the information you need to proceed.
Planning
- Use
plannersubagent to read the Polar.sh docs and create a implementation plan with TODO tasks in./plansdirectory. - Ask user to review and approve the plan, if the user requests to change the plan, repeat the previous step until the user approves the plan.
Implementation
- When user approves the plan, use general agent (main agent) to implement the plan step by step.
- Run type checking and compile the code to make sure there are no syntax errors.
Testing & Code Review
- Write the tests for the plan, make sure you don't use fake data just to pass the tests, tests should be real and cover all possible cases.
- Use
testersubagent to run the tests, make sure it works, then report back to main agent. - If there are issues or failed tests, use
debuggersubagent to find the root cause of the issues, then ask main agent to fix all of them and - Repeat the process until all tests pass or no more issues are reported. Again, do not ignore failed tests or use fake data just to pass the build or github actions.
- When all tests pass, delegate to
code-reviewersubagent to review code. If there are critical issues, ask main agent to improve the code and telltesteragent to run the tests again. Repeat the process until all tests pass. - When all code is reviewed, the tasks are completed, report back to user with a summary of the changes and explain everything briefly, ask user to review the changes and approve them.
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.
- 9d ago First seen · 43 lines · 6 tokens per session scan A 7d744c008262
polar is a command published in the GitHub repository mrgoonie/human-mcp (294 stars, last pushed 6mo ago), licensed MIT. It adds 6 tokens to every session and 535 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. It is 89% identical to cook, differing in 49 lines, and is treated as a copy.
Other commands, from other repositories
report
Generate a project analytics report covering code quality, velocity, and health metrics.
debug-pod
Debug a failing or unhealthy Kubernetes pod by analyzing events, logs, and configuration.
explain
Explain a code file, function, or concept in clear, structured language.
env-setup
Set up environment configuration files from templates with validation.
document-all
Auto-document the entire codebase by generating module-level docs, function signatures, and API references.
fix-comments
Address PR review comments by implementing requested changes automatically.