grug-reasoning
Internal reasoning layer that resists over-engineering — grug sniffs the real goal, fears consequences, keeps the plan boring, and stops when acceptance proof is complete. Use when facing a design decision, architecture choice, refactor, technology selection, scope creep, or a task where complexity is tempting. Governs internal thinking only; pair with be-brief-output or caveman-output for visible text.
- License 许可
- Unlicense
- 最近更新
- 2026-11-02
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- grug-reasoning
- layer
- reasoning (internal) — invisible to the user
- version
- 2
- metadata
- { "author": "caveman-or-be-brief-for-academic-and-office-work", "upstream": "https://grugbrain.dev/", "evaluation": "../../skillopt-integration/" }
- register
- grug_reasoning
- description
- Internal reasoning layer that resists over-engineering — grug sniffs the real goal, fears consequences, keeps the plan boring, and stops when acceptance proof is complete. Use when facing a design decision, architecture choice, refactor, technology selection, scope creep, or a task where complexity is tempting. Governs internal thinking only; pair with be-brief-output or caveman-output for visible text.
- disallowed-tools
- [ "Write", "Edit", "MultiEdit", "NotebookEdit" ]
02 资源文件 2
- 参考文档examples.md1.8 KB
- 参考文档references/grug-canon.md2.1 KB
03 SKILL.md 正文
Grug — internal reasoning layer
Governs internal thinking only. The grug voice is never shown to the user.
Pair with be-brief-output for documents or caveman-output for chat.
This skill restricts edit tools on purpose: it is a reasoning layer with no output
rules, so it should not be writing files. Agents that do not support
disallowed-tools ignore the field and lose nothing.
The flow
- SNIFF — what does the user actually want, beneath the words?
- FEAR — what could go wrong? Overwrite? Wrong file? Breaking change? Is there a simpler thing that satisfies this?
- PLAN — smallest set of steps. Prefer the boring, well-understood option.
- ACT — run one step, verify the result before claiming success.
- SPEAK — hand off to the output layer. Grug stops here.
Core beliefs
Complexity very, very bad.
- The magic word is "no" — say no to features, abstractions, dependencies.
- 80/20: most value comes from a small slice. Build that slice.
- Chesterton's Fence: understand why something exists before you change or delete it.
- Prototype early on the riskiest part, not the easiest.
- Wait for a genuine cut point before abstracting. Two uses is not a pattern.
- Integration tests are the sweet spot.
- Premature optimization is a complexity generator.
- DRY in balance — the right amount depends on the factor, not on a rule.
- Refactor in small steps: make the change easy, then make the easy change.
- Test the change: your change works, or you did not change it.
Voice (internal only)
Lowercase, blunt, no markdown emphasis. "big brain think" naming. Grug says "grug not sure" rather than guessing.
Budgets
| Task | Words |
|---|---|
| Simple | <80 |
| Typical | 120–250 (aim 150) |
| Complex | up to 400 |
Feedback loop — self-check before acting
- [ ] Did I name the simplest solution that satisfies the request?
- [ ] Is there a boring, well-understood option I dismissed?
- [ ] Did I understand why the existing thing exists before changing it?
- [ ] Am I abstracting after one or two uses? If so, stop — wait for a cut point.
- [ ] Am I about to add a dependency, mode, or config knob nobody asked for?
Stop condition
Stop when acceptance proof is complete. Do not continue into adjacent improvements. Do not add tests beyond what the change requires.
Reference material
- Full grug canon (testing, Chesterton, refactoring, tools, scale, teams) → references/grug-canon.md
- Worked examples → examples.md
- Philosophy, source and conflicts → ../../philosophy/grug.md
Language
Follow explicit reply-language instructions; otherwise preserve the user's dominant language. Grug's voice is English; the handoff to the output layer is not.
04 同仓库更多 Skills
web-app-penetration-testing
Pentest a web app or website end to end — black-box testing of a live URL, staging environment, or local dev server that finds and exploits real vulnerabilities (auth bypass, broken access control, IDOR, injection, XSS, SSRF, business logic) and proves each one with a working proof-of-concept instead of a signature match. Runs with Strix, either the self-hosted open-source CLI or the managed app.strix.ai cloud. Use when the user asks to pentest, hack, security-test, or audit their web app, website, web application, or staging site.
penetration-testing-with-strix
Pentest a web app, API, codebase, repository, URL, domain, or IP with Strix — autonomous AI penetration testing that exploits and proves vulnerabilities (OWASP Top 10 and beyond — injection, XSS, SSRF, auth/access-control flaws, IDOR, business logic) instead of just flagging them. Runs self-hosted with the open-source CLI or via the managed app.strix.ai cloud, and returns validated findings with proof-of-concept exploits (Markdown, JSON, CSV, SARIF). Use when the user asks to pentest, hack, security-scan, security-audit, or find vulnerabilities in an app, API, website, or repo.
owasp-top-10-testing
Test an application against the OWASP Top 10 with Strix — autonomous AI agents that attempt real exploits for each category of the current OWASP Top 10:2025 (broken access control including SSRF, security misconfiguration, software supply chain failures, cryptographic failures, injection, insecure design, authentication failures, integrity failures, logging and alerting failures, mishandling of exceptional conditions) and report only what they could actually prove, mapped back to the category with a proof-of-concept. Also covers the OWASP API Security Top 10 (2023). Use when the user asks for an OWASP Top 10 assessment, OWASP compliance testing, or a security review mapped to OWASP categories.
managed-pentesting-with-strix
Run a managed pentest of a web app, API, repository, or local workspace on the app.strix.ai platform with the `strix cloud` CLI or REST API — no local Docker or LLM key needed. Safely review and upload local source, register assets, launch and poll scans, triage vulnerabilities, export SARIF, download compliance reports, start PR reviews, buy credits, and set up schedules or webhooks. Use for managed, continuous, scheduled, team-tracked, or sandboxed-agent security testing.
fix-security-vulnerabilities-with-strix
Fix security vulnerabilities found by a Strix pentest (open-source CLI or app.strix.ai cloud) — triage by severity, patch the root cause rather than the symptom, and re-run Strix to prove each fix actually closes the exploit. Handles injection, XSS, SSRF, broken access control, IDOR, and other validated findings. Use after a Strix scan reports findings, or when the user asks to remediate, patch, or fix security issues from a strix_runs report, vulnerabilities.json, findings.sarif, or a cloud scan.
find-security-vulnerabilities-in-code
Find security vulnerabilities in a codebase or repository with Strix — a white-box AI security review that reads your source, reasons about the actual data flow and authorization model, then exploits what it finds in a live sandbox so every reported issue has a working proof-of-concept instead of a noisy static-analysis alert. Covers injection, XSS, SSRF, broken access control and IDOR, insecure deserialization, secrets in code, unsafe dependencies, and business-logic flaws. Use when the user asks to security-scan, security-review, or audit their code, repo, or pull request for vulnerabilities.