Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/hassanzohdy/agent-kitnpx agentmods add skills/hassanzohdy/agent-kit/troubleshootingWrote 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/hassanzohdy/agent-kit/troubleshooting)<a href="https://agentmods.dev/skills/hassanzohdy/agent-kit/troubleshooting"><img src="https://agentmods.dev/badge/skills/hassanzohdy/agent-kit/troubleshooting/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/hassanzohdy/agent-kit/troubleshooting"><img src="https://agentmods.dev/badge/skills/hassanzohdy/agent-kit/troubleshooting.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.00141 | $0.02327 |
| Opus 5.5 | $0.00056 | $0.00931 |
| Sonnet 5.5 | $0.00028 | $0.00465 |
| Haiku 4.5 | $0.00014 | $0.00233 |
Grade A, and why
mongez-agent-kit-troubleshooting scanned grade A with 0 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 1mo 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 167 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Troubleshooting
Symptom → cause → fix. Find the line that matches what you hit.
Auto-trigger: user reports any error/log line from
agent-kit init,agent-kit sync, oragent-kit watch; user says "command not found", "skills not showing up", "wrong package", "pick matched no installed packages", "collision", "AGENTS.md missing", "my skill folder disappeared"; user asks "why doesn't X work" after running an agent-kit command.Skip when: the question is about how to use a feature (CLI usage, configuration, monorepos) rather than a malfunction.
agent-kit: command not found
Symptom. postinstall: agent-kit sync runs but errors with command not found, or you typed agent-kit sync in a terminal and got the same.
Cause. The bare agent-kit binary only resolves when @mongez/agent-kit is installed locally (in the project's node_modules/.bin). The zero-install npx @mongez/agent-kit@latest init bootstrap installs nothing.
Fix. Install agent-kit as a dev dependency:
npm install -D @mongez/agent-kit
# or: yarn add -D @mongez/agent-kit / pnpm add -D @mongez/agent-kit
Now postinstall: agent-kit sync and any plain agent-kit sync invocation will resolve the local binary.
npx agent-kit … is fetching the wrong package
Symptom. npx agent-kit init (or sync) downloads and runs something unrecognizable — different help text, unfamiliar flags.
Cause. Without the scope, agent-kit resolves to a different, unrelated npm package when nothing is installed locally. npm doesn't fall back to scoped names.
Fix. Use the scoped name when running without a local install:
npx @mongez/agent-kit@latest init
After installing agent-kit as a dev dep, the unscoped npx agent-kit … is fine — npx prefers the local binary in node_modules/.bin.
Sync said it succeeded but my agent shows zero skills
Symptom. .claude/skills/ (or .cursor/skills/, .codex/skills/, …) exists and contains the expected folders, but the agent UI shows no skills.
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.
- 1mo ago Changed · +16 lines · +13 tokens per session d69c5fb2419b
- 2mo ago First seen · 151 lines · 128 tokens per session scan A cf083e139716
mongez-agent-kit-troubleshooting is a skill published in the GitHub repository hassanzohdy/agent-kit (2 stars, last pushed 1mo ago), licensed MIT. It adds 141 tokens to every session and 2,327 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
mongez-agent-kit-troubleshooting compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mongez-agent-kit-troubleshootinghassanzohdy/agent-kit | Skill | 2 | 1mo ago | MIT | A | 141 | Claude Code, Codex |
| systematic-debuggingopen-metadata/OpenMetadata | Skill | 16k | today | Apache-2.0 | A | 37 | Claude Code |
| log-error-digestzebbern/claude-code-guide | Skill | 4.7k | today | MIT | A | 71 | Claude Code, Codex |
| cwv-optimizeradobe/skills | Skill | 319 | today | Apache-2.0 | A | 112 | Claude Code |
| ci-fixersipyourdrink-ltd/bernstein | Skill | 1.2k | today | Apache-2.0 | A | 15 | Claude Code, Codex |
| incident-response-incident-responsermyndharis/antigravity-skills | Skill | 2.0k | 24d ago | MIT | A | 36 | Claude Code |
| diagnosing-missing-recordingsPostHog/posthog | Skill | 41k | today | none | A | 76 | Claude Code, Codex |