Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add GulajavaMinistudio/awesome-copilot-id --skill polya-heuristic-codergit clone --depth 1 https://github.com/GulajavaMinistudio/awesome-copilot-idWrote 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/skills/gulajavaministudio/awesome-copilot-id/polya-heuristic-coder)<a href="https://agentmods.dev/skills/gulajavaministudio/awesome-copilot-id/polya-heuristic-coder"><img src="https://agentmods.dev/badge/skills/gulajavaministudio/awesome-copilot-id/polya-heuristic-coder/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/skills/gulajavaministudio/awesome-copilot-id/polya-heuristic-coder"><img src="https://agentmods.dev/badge/skills/gulajavaministudio/awesome-copilot-id/polya-heuristic-coder.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.00072 | $0.15348 |
| Opus 5.5 | $0.00029 | $0.06139 |
| Sonnet 5.5 | $0.00014 | $0.03070 |
| Haiku 4.5 | $0.00007 | $0.01535 |
Grade D, and why
polya-heuristic-coder scanned grade D with 3 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 2mo 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.
Downloads and executes remote codehighSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
- **No Dangerous Execution:** Strictly prohibits arbitrary shell command chaining (`eval`, `curl | bash`, unverified binary executions, or uncontrolled subshell spawns). Unrestricted tool accessmediumExcessive agency
A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.
* **Safe Deserialization & Mass Assignment Guard:** Ensure incoming request payloads cannot overwrite unpermitted entity fields or execute arbitrary code during deserialization. Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- **No Dangerous Execution:** Strictly prohibits arbitrary shell command chaining (`eval`, `curl | bash`, unverified binary executions, or uncontrolled subshell spawns). How it starts
The opening of the file, as written. The whole thing — 650 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Polya Heuristic Coder
Role & Persona: Veteran Principal Fullstack Engineer
You embody a Veteran Senior Principal Fullstack Software Engineer with over two decades of hands-on production experience across all layers of modern computing systems (Databases, Distributed Services, API Contracts, Frontend Runtimes, and Cloud Infrastructures).
Your Professional Persona & Demeanor:
- Battle-Tested Pragmatism: You have witnessed dozens of technology hype cycles, painful legacy migrations, and 3 AM production outages. You know from decades of experience that 90% of software bugs and project failures stem from misunderstood requirements and premature coding, not syntactic errors.
- Master of Clean Code, Clean Architecture & SOLID ("Uncle Bob"): You are an uncompromising practitioner of Robert C. Martin's principles. You structure decoupled boundaries along Clean Architecture seams (Entities $\rightarrow$ Use Cases $\rightarrow$ Interface Adapters $\rightarrow$ Frameworks), strictly enforce the 5 SOLID design principles (SRP, OCP, LSP, ISP, DIP), practice the Boy Scout Rule (leave the code cleaner than you found it), and write self-documenting code with intention-revealing names.
- Full-Stack Fluency: You reason effortlessly across the entire execution path—from database indexing, transaction boundaries, and wire serialization up to asynchronous state machines and reactive UI rendering.
- Pólya's Applied Science: You do not treat George Pólya's 1945 heuristic framework as academic theory; to you, it is the sharpest, battle-tested practical tool to deconstruct complexity, kill ambiguity, and write rock-solid software.
- Socratic Mentorship: You communicate with calm authority, professional rigor, and clarity. You refuse to produce blind code patches or unverified boilerplate. You guide developers to understand the foundational mental model first before writing a single line of code.
Invocation & Phase Dispatching
What ships with it
11 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/ARCHITECTURE-MAPPING-WORKFLOW.md 5.4 KB
- references/ARCHITECTURE-TEMPLATE.md 9.6 KB
- references/BUGFIX-PLAN-TEMPLATE.md 4.4 KB
- references/CLARIFICATION-REPORT-TEMPLATE.md 2.7 KB
- references/DISCOVERY-DRAFT-TEMPLATE.md 4.9 KB
- references/DOCS-TEMPLATE.md 12 KB
- references/END-TO-END-WALKTHROUGH.md 14 KB
- references/PLAN-TEMPLATE.md 7.1 KB
- references/POLYA-HEURISTIC-ARSENAL.md 6.9 KB
- references/REVIEW-REPORT-TEMPLATE.md 6.5 KB
- references/SPEC-TEMPLATE.md 6.0 KB
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.
- 2mo ago Changed ed67f9b38555
- 2mo ago Changed · +8 lines scan C → D b225218f282a
- 2mo ago Changed · +106 lines ba0e4690292a
- 2mo ago Changed · +59 lines ebfa20f5095c
- 2mo ago First seen · 477 lines · 72 tokens per session scan C 8205e374ae2c
polya-heuristic-coder is a skill published in the GitHub repository GulajavaMinistudio/awesome-copilot-id (96 stars, last pushed 1mo ago), licensed MIT. It adds 72 tokens to every session and 15,348 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it D with 3 findings (downloads and executes remote code, unrestricted tool access, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-10.
polya-heuristic-coder compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| polya-heuristic-coderGulajavaMinistudio/awesome-copilot-id | Skill | 96 | 1mo ago | MIT | D | 72 | Claude Code, Codex |
| doubt-driven-developmentaddyosmani/agent-skills | Skill | 122k | 7d ago | MIT | A | 96 | Claude Code |
| performance-optimizationaddyosmani/agent-skills | Skill | 122k | 7d ago | MIT | A | 59 | Claude Code |
| debugging-and-error-recoveryaddyosmani/agent-skills | Skill | 122k | 7d ago | MIT | A | 129 | Claude Code |
| lcx-report-bugcode-yeongyu/oh-my-openagent | Skill | 71k | today | none | A | 85 | Codex |
| ast-grepcode-yeongyu/oh-my-openagent | Skill | 71k | today | none | A | 61 | Claude Code, Codex |
| debuggingcode-yeongyu/oh-my-openagent | Skill | 71k | today | none | A | 53 | Claude Code, Codex |