Agent Ops · agent skill
Think First
Five lines before the edit. A ledger after.
What it does
Loads when it is needed
Your agent loads it when the agent should decide before it edits, keep the diff small and prove it verified. It carries 5 rules and reads a profile.md with your details before it starts, so the output matches your brand and project.
Same prompt, with and without
Make webhook retries configurable
Prompt · Make the webhook retry count configurable. Right now it's hardcoded to 3.
src/webhooks/send.ts (48 lines):
const MAX_RETRIES = 3;
export async function sendWebhook(url: string, body: unknown) {
for (let attempt = 1; attempt <= MAX_RETRIES; attempt++) {
const res = await fetch(url, { method: 'POST', body: JSON.stringify(body) });
if (res.ok) return;
await sleep(attempt * 500);
}
throw new Error('webhook failed');
}
Only caller: src/jobs/notify.ts. Config is read from env in src/config.ts (zod-validated, e.g. PORT, DATABASE_URL). Tests: src/webhooks/send.test.ts, 2 tests, `npm test`. Typecheck: `npm run typecheck`. Nobody has asked for per-endpoint retries.Profile used: Agents: Claude Code; Project: notifications service; Stack: TypeScript, Node 20, vitest; Team size: 3
Both answers from the same model (Claude sonnet), 2026-10-17. The one without the skill was written in a separate session that never saw it. Shortened where marked with …
Install
One command, in your project
It detects your agent; add --agent all for every agent.
npx proskills-cli add think-first --order <order id from your receipt>
Or copy the skill folder (the one holding SKILL.md) into the directory your agent reads, then restart it or start a new session.
| Agent | This project | Every project |
|---|---|---|
| Claude Code | .claude/skills/ | ~/.claude/skills/ |
| Cursor | .agents/skills/ (or .cursor/skills/) | ~/.cursor/skills/ |
| Codex | .agents/skills/ | ~/.agents/skills/ |
| Gemini CLI | .agents/skills/ (or .gemini/skills/) | ~/.gemini/skills/ |
Changelog
What changed
- v1.0.0 · 2026-10-17
- First versioned release: A five-line pre-flight before every edit, a diff budget, a ledger of what actually ran.
- Scanned 100/100 before release.
Keep it current with npx proskills-cli update; your profile.md is never touched. Everyone who bought it gets the update free and an email when it lands.
Same collection
More from Agent Ops
The scan checks spec compliance, token cost, clarity and security patterns. A clean scan is not a guarantee: static scanners can be evaded. Scan any skill yourself.