Skip to content
jadmadiPublic

About

Jad Madi's agent skills for Claude Code, Cursor, Windsurf, Codex, and Devin -- ADOO problem-solving, a backend pre-flight checklist, codebase-artifact HTML docs, and Cloudflare Workers CPU/D1 audits.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

25 Commits

Folders and files

Repository files navigation

Skills

Jad Madi's agent skills — for Claude Code, Cursor, Windsurf, Codex, Devin, and any other agent that supports the Agent Skills format. Built from real engineering work, refined against real usage, published as I use them.

skills.sh

Quickstart

npx skills add jadmadi/skills

Pick the skills you want and which agents to install them on. Skills are used automatically once installed — the agent reaches for them when a task matches.

Skills

Organized into buckets under skills/. All skills below are model-invoked (the agent can reach for them on its own, based on the task, not just by typed name).

Debugging, pre-ship checklists, and codebase documentation.

  • adoo — Structured problem-solving via the ADOO method (Assess, Deconstruct, Organize, Optimize) for bugs, refactors, and incidents where jumping straight to a fix is risky.
  • pre-flight-check — Pre-commit / pre-deploy checklist for backend and full-stack changes: typecheck/lint gates, API response consistency, route ordering, schema checks, and result-checking. Ships as an adaptable template.
  • codebase-artifact — Scan a codebase and produce a single self-contained HTML file documenting its architecture, user journey, component hierarchy, and key code patterns.

Audits for Cloudflare Workers CPU usage and D1 database performance/billing.

  • cf-cpu-audit — Scan a Cloudflare Workers repo for operations that excessively consume CPU time: global scope misses, memory buffering, pure-JS crypto, blocking iterations, missing waitUntil() deferral.
  • cf-d1-audit — Scan a Cloudflare Workers repo for D1 patterns that inflate billing, risk timeouts, or cause consistency bugs: missing indexes, N+1 queries, unbatched round-trips, wildcard SELECTs, and more.

Cofounder

Use skills/cofounder/SKILL.md (/cofounder) as an opinionated startup cofounder across idea validation, MVP scoping, repo/security/anti-slop audits, ICP and outbound cadences, unit economics, and expansion gates.

It inspects workspace files before asking questions, grills unsettled decisions in tight rounds (Q1, Q2 with yes-acceptable recommendations), routes each stage through structured thinking, adapts idea validation to money, open_source, or fun goals, enforces 9 pushback gates (including manual-first proof and day-one pricing), and ends with one 7-day next action. Adapts to any existing stack and works standalone or paired with structured-thinking, adoo, and pre-flight-check.

Validate locally:

bash scripts/validate-skill.sh cofounder

See evals/cofounder/cases.md for behavioral smoke checks.

Structured thinking

Use skills/structured-thinking/SKILL.md when a decision, problem, or message needs more structure. It selects a suitable method or follows one you name, then reads only that method's guide. Routine edits do not need a framework.

The toolkit includes Six Thinking Hats, Ishikawa, Eisenhower, second-order thinking, Iceberg, abstraction laddering, decision matrices, impact-effort, connection circles, the ladder of inference, conflict resolution, SBI, hard choices, Zwicky boxes, OODA, Minto, concept maps, Cynefin, Productive Thinking, inversion, issue trees, confidence versus speed/quality, first principles, and balancing and reinforcing feedback loops.

It distinguishes evidence from assumptions, leaves unknown scores unknown, and ends with a useful result or next action. The methods support general decisions as well as engineering work. The skill adds no tools, runtime dependencies, or new execution permissions.

Install structured thinking

For a specific method, install its standalone folder instead, for example skills/st-six-hats/. Each named method contains everything it needs in SKILL.md; it does not require the general toolkit. Install only the methods you want, or all 25. Use the same copy procedure below, substituting that skill's name in both paths.

Copy the complete skills/structured-thinking/ folder, including references/, into a directory your agent discovers. Copying only SKILL.md loses the method guides. The following Bash example starts in this repository; replace the target project path before running it:

skill_source="$PWD/skills/structured-thinking"
skill_target="/absolute/path/to/your-project/.agents/skills/structured-thinking"
if [ -e "$skill_target" ] || [ -L "$skill_target" ]; then
  printf 'Already exists; compare before updating: %s\n' "$skill_target"
else
  mkdir -p "$(dirname "$skill_target")"
  cp -R "$skill_source" "$skill_target"
fi

For an update, compare the installed folder with the source, preserve any local changes, and replace the complete folder deliberately. Do not install multiple copies under the same name. No installation is performed by reading this repository or using its validator.

Documented native locations, checked on 2026-10-14:

Agent Project skill parent Global skill parent
Codex .agents/skills/ ~/.agents/skills/
OpenCode V2 .agents/skills/ or .opencode/skills/ ~/.config/opencode/skills/
agy CLI .agents/skills/ ~/.gemini/antigravity-cli/skills/

Append structured-thinking/ to the chosen parent. Discovery varies by host and configuration. These paths follow Codex documentation, OpenCode V2 documentation, and agy CLI documentation. Documentation support is distinct from the runtime results in evals/structured-thinking/results.md.

Use structured thinking

Choose structured-thinking when you want the agent to select a method. Choose a named skill when you already know which method to use. For example, after installing its folder:

The method prefix is now st-. If you installed the earlier long names, replace those installed folders or links with their st- equivalents and restart your agent session to refresh discovery.

/st-six-hats Should we move the workshop online?

The slash form applies to hosts that expose skills as slash commands, such as agy's interactive CLI. In Codex, use $st-six-hats instead. For other hosts, ask Use st-six-hats to assess this decision: ... or provide its SKILL.md path. These are separate named skills, not a custom CLI or universal slash-command registration.

Named skill Method
st-six-hats Six Thinking Hats
st-ishikawa Ishikawa
st-eisenhower-matrix Eisenhower Matrix
st-second-order-thinking Second-order thinking
st-iceberg-model Iceberg Model
st-abstraction-laddering Abstraction laddering
st-decision-matrix Decision matrix
st-impact-effort-matrix Impact-Effort Matrix
st-connection-circles Connection circles
st-ladder-of-inference Ladder of inference
st-conflict-resolution Conflict Resolution Diagram
st-situation-behavior-impact Situation-Behavior-Impact
st-hard-choice-model Hard choice model
st-zwicky-box Zwicky box
st-ooda-loop OODA loop
st-minto-pyramid Minto Pyramid
st-concept-map Concept map
st-cynefin Cynefin
st-productive-thinking Productive Thinking
st-inversion Inversion
st-issue-trees Issue trees
st-confidence-speed-quality Confidence, speed and quality
st-first-principles First principles
st-balancing-feedback-loop Balancing feedback
st-reinforcing-feedback-loop Reinforcing feedback

In a supporting agent, ask naturally:

Use structured-thinking to assess whether we should move the workshop online.
We have attendance records but no cost comparison. Choose a useful method.

Or select a method:

Use structured-thinking with a decision matrix to compare these options.
Treat unknown costs as unknown. Show what evidence could change the recommendation.

Codex also supports mentioning $structured-thinking. agy's interactive CLI exposes installed skills as slash commands, including /structured-thinking. These are host features, not new commands installed by this package. The same plain-language request works without an adapter.

For an agent with file access but no native skill discovery, give the actual entrypoint path:

Read skills/structured-thinking/SKILL.md and its relevant method reference.
Use it to examine this decision: [your decision and available evidence].

That relative path assumes this repository is the working directory; use the installed path elsewhere. For an agent without file access, paste the entrypoint contents, ask which guide it needs, then supply that guide's contents with your task. File-reading and discovery are not claimed for hosts that lack those capabilities. Referenced websites are attribution, not a requirement for network access during ordinary use.

By default, results stay in the conversation. Request a file if you want one. An analysis request does not authorize implementation; already authorized work does not require a special APPLY word.

Check structured thinking

bash scripts/validate-skill.sh structured-thinking
go run scripts/generate-structured-thinking.go -check
go test scripts/generate-structured-thinking.go scripts/generate-structured-thinking_test.go

The named skills are generated from the general toolkit's routing table, reference guides, and shared evidence/output rules. Edit those canonical sources, then run go run scripts/generate-structured-thinking.go from this repository root. Commit the generated folders alongside the source changes. -check detects missing or stale outputs without writing. The generator refuses to replace an existing skill without its generated-file marker. Go is a maintainer-only requirement; installed skills need no runtime or generator. See named-skill checks for the scope of validation.

This existing check is shallow: it does not prove YAML validity, method correctness, or improved answers. See evals/structured-thinking/cases.md for behavioral cases and evals/structured-thinking/results.md for receipts, limitations, and baseline comparisons. There is no application build or typecheck for this package.

US Incorporation

Use skills/us-incorporation/SKILL.md (/us-incorporation) to guide U.S. Delaware LLC or C-corporation formation and AI agent governance setup using live upstream templates from General-Legal/agent-operated-company.

It fetches manifest.json and entity templates directly from upstream instead of vendoring stale legal forms, enforces five legal/safety gates (mandatory not-legal-advice disclaimer, human approval before filing, free irs.gov EIN only, separate bank account for liability shield, and counsel escalation for vesting/83(b) or non-U.S. founders), and covers both DIY and optional attorney-reviewed MCP filing.

Validate locally:

bash scripts/validate-skill.sh us-incorporation

See evals/us-incorporation/cases.md for behavioral smoke checks.

For contributors

# Scaffold a new skill from the template
scripts/create-skill.sh <bucket> <skill-name>

# Quick local sanity check (frontmatter, name/description rules, body length)
scripts/validate-skill.sh <bucket>/<skill-name>

# List every skill in the repo
scripts/list-skills.sh

# Symlink every skill into this machine's agent config directories
# (~/.claude/skills, ~/.config/devin/skills, ~/.agents/skills, etc.)
scripts/link-skills.sh

See AGENTS.md for the full conventions (naming, description hygiene, cross-agent portability, when to add a new bucket) and .out-of-scope/ for additions that were deliberately rejected, and why.

Skill structure

Each skill is a directory under skills/<bucket>/<name>/ containing:

  • SKILL.md — instructions for the agent (required)
  • scripts/ — helper scripts for automation (optional)
  • references/ — supporting documentation loaded on demand (optional)
  • assets/ — templates or files used in output (optional)

Credits

This repo's conventions were learned from others, not invented here:

  • mattpocock/skills (Matt Pocock) — the bucket layout (skills/<bucket>/<name>/), per-bucket README.mds, scripts/link-skills.sh / scripts/list-skills.sh, and the .out-of-scope/ convention for recording rejected ideas instead of only in commit messages are all adapted directly from his repo. His writing-great-skills skill and its glossary also shaped how the skills here are written — description hygiene, cutting duplication, and the vocabulary for what makes a skill predictable rather than just plausible-sounding.
  • vercel-labs/agent-skills — the skills.sh.json grouping format and the general shape of this README (badge, "what it does / use when" summaries per skill) come from theirs.
  • Agent Skills specification — the open format every skill here implements, and the source for the authoring best-practices this repo tries to follow.

If you're setting up your own skills repo, all three are worth reading directly.

License

MIT

Author

Jad Madi — github.com/jadmadi

About

Jad Madi's agent skills for Claude Code, Cursor, Windsurf, Codex, and Devin -- ADOO problem-solving, a backend pre-flight checklist, codebase-artifact HTML docs, and Cloudflare Workers CPU/D1 audits.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages