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.14991 |
| Opus 5 | $0.00036 | $0.07496 |
| Sonnet 5 | $0.00014 | $0.02998 |
| Haiku 4.5 | $0.00007 | $0.01499 |
Grade C, and why
polya-heuristic-coder scanned grade C with 2 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 today.
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). 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 — 642 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
10 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/REVIEW-REPORT-TEMPLATE.md 5.6 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.
- today Changed · +106 lines ba0e4690292a
- 2d ago Changed · +59 lines ebfa20f5095c
- 3d 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 (73 stars, last pushed yesterday), licensed MIT. It adds 72 tokens to every session and 14,991 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-10.
Other skills, from other repositories
performance-optimization
Optimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect performance regressions, when Core Web Vitals or load times need improvement, when N+1 query patterns need fixing, or when profiling reveals bottlenecks.
doubt-driven-development
Subjects every non-trivial decision to a fresh-context adversarial review before it stands. Use when you want every assumption cross-examined before proceeding, when stress-testing a plan for hidden failure modes, when correctness matters more than speed, when working in unfamiliar code, when stakes are high…
debugging-and-error-recovery
Guides systematic root-cause debugging. Use when tests fail, builds break, something that worked yesterday broke, behavior doesn't match expectations, or you encounter any unexpected error. Use when you need to figure out what broke and why — a systematic approach to finding and fixing the root cause rather than…
lcx-report-bug
Create a high-signal bug issue or PR in the repo that owns the defect. Use this whenever the user asks to report, file, open, or triage a LazyCodex, lazycodex-ai, omo-codex, Codex plugin, or upstream Codex CLI bug, especially when they need source-backed root cause, reproduction steps, fix guidance, and GitHub routing.
ast-grep
Searches and rewrites code by AST shape across 25 languages. Use when the target is a syntax pattern (every call/class/import shaped like X, a codemod, a YAML rule) rather than literal text; for plain strings, comments, or filenames, use rg.
debugging
Runs a hypothesis-driven debugging loop across any language or binary, escalating to orthogonal oracle angles and locking the fix with a failing test. Use for crashes, silent failures, hangs, wrong responses, memory leaks, async misbehavior, or reverse engineering.