Supabase Development and Debugging
supabase/agent-skills
General Supabase skill for database, auth, Edge Functions, Realtime and storage work, plus client libraries, migrations, security audits, debugging and reading logs.
Iterative debugging with targeted logs. An agent skill from adam-s/intercept.
$ npx skills add adam-s/intercept --skill debug-logs -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install adam-s/intercept debug-logs --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/adam-s/intercept.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/debug-logs .claude/skills/debug-logs && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "debug-logs" agent skill from https://github.com/adam-s/intercept/tree/main/.claude/skills/debug-logs into .claude/skills/debug-logs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "debug-logs", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/adam-s/intercept/tree/main/.claude/skills/debug-logsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add adam-s/intercept --skill debug-logs -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install adam-s/intercept debug-logs --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/adam-s/intercept.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/debug-logs .agents/skills/debug-logs && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "debug-logs" agent skill from https://github.com/adam-s/intercept/tree/main/.claude/skills/debug-logs into .agents/skills/debug-logs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "debug-logs", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add adam-s/intercept --skill debug-logs -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install adam-s/intercept debug-logs --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/adam-s/intercept.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/debug-logs .cursor/skills/debug-logs && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "debug-logs" agent skill from https://github.com/adam-s/intercept/tree/main/.claude/skills/debug-logs into .cursor/skills/debug-logs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "debug-logs", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/adam-s/intercept.git --path .claude/skills/debug-logs--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add adam-s/intercept --skill debug-logs -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install adam-s/intercept debug-logs --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/adam-s/intercept.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/debug-logs .gemini/skills/debug-logs && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "debug-logs" agent skill from https://github.com/adam-s/intercept/tree/main/.claude/skills/debug-logs into .gemini/skills/debug-logs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "debug-logs", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install adam-s/intercept debug-logsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add adam-s/intercept --skill debug-logs -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/adam-s/intercept.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/debug-logs .github/skills/debug-logs && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "debug-logs" agent skill from https://github.com/adam-s/intercept/tree/main/.claude/skills/debug-logs into .github/skills/debug-logs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "debug-logs", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add adam-s/intercept --skill debug-logs -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install adam-s/intercept debug-logs --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/adam-s/intercept.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/debug-logs .opencode/skills/debug-logs && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "debug-logs" agent skill from https://github.com/adam-s/intercept/tree/main/.claude/skills/debug-logs into .opencode/skills/debug-logs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "debug-logs", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
debug-logsIterative debugging with targeted logs. An agent skill from adam-s/intercept.
Debug Logs is an agent skill from adam-s/intercept. Iterative debugging with targeted logs. Use when browser connections fail, traffic capture returns empty, proxy routes return errors, WebSocket issues, or any problem that can't be solved on the first attempt. Add logs, read output, narrow the search, repeat until fixed, then clean up.
Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Backend & APIs, covering Debugging and Realtime and WebSockets. The repository describes itself as: Turn any website into a typed JSON API using self improving agents. The licence is MIT.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 6451b89. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are bash and typescript).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Debug Logs loads about 1.1k tokens when it runs. Until then it costs about 74 tokens; SKILL.md has 508 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from adam-s/intercept at commit 6451b89, republished under its MIT licence (© adam-s). 508 words, ~1,138 tokens.
.claude/skills/debug-logs/SKILL.md (or your agent's skills folder).When you can't solve a problem by reading code alone, use DEBUG() to observe runtime behavior. This is a methodical process — not a one-shot fix.
Canonical implementation at packages/shared/src/debug.ts. Choose the import based on context:
import { DEBUG } from "@interceptor/shared"; // server/API code (routes, handlers)
import { DEBUG } from "@/lib/debug"; // client components ('use client') — do NOT import @interceptor/shared in browser codeCall signatures:
DEBUG('message')
DEBUG('location', 'message')
DEBUG('location', () => ({ data: value }))
DEBUG('location', 'message', () => ({ data: value }))The data argument is a factory function (lambda) — expensive computation is deferred and only runs when logging is enabled. DEBUG is disabled in test and production (NODE_ENV).
Output goes to /tmp/interceptor-debug/debug-YYYY-MM-DD.log and console (cyan).
Before adding any logs, form a hypothesis about where the bug likely is. Ask:
Add 2-4 calls in the functions you suspect. Log the values that would confirm or reject your hypothesis. Be strategic — avoid noisy locations like tight loops unless you suspect the loop itself.
Good placement:
Bad placement:
Reproduce the bug. Then read the log:
cat /tmp/interceptor-debug/debug-$(date +%Y-%m-%d).logIf the file is missing or empty:
ls -la /tmp/interceptor-debug/For live tailing while reproducing:
tail -f /tmp/interceptor-debug/debug-*.logIf the logs reveal the bug — fix it, go to Step 5.
If the logs show expected behavior in the suspected area — the bug is elsewhere. Widen scope:
If the logs show something unexpected but you can't pinpoint why — add more calls to narrow within the same area. Log intermediate values, branch decisions, loop iterations.
Repeat Steps 2-4 until the root cause is clear.
After fixing the bug, remove DEBUG() calls that were only useful for this investigation. Keep a call only if:
When in doubt, remove it. The calls are easy to add back.
rm -f /tmp/interceptor-debug/*.logSymptom: "The SSE counter is frozen — client connects but count never updates."
Hypothesis: The broadcast function might not be sending updates.
Add DEBUG() in broadcast() and tick():
function tick(): void {
count += multiplier;
DEBUG("tick", () => ({ count, multiplier }));
broadcast();
}
function broadcast(): void {
const state = getState();
const json = JSON.stringify(state);
DEBUG("broadcast", () => ({ count: state.count, jsonMatch: json === lastJson }));
if (json === lastJson) return;
lastJson = json;
// ...
}Read logs: If you see tick incrementing but broadcast always showing jsonMatch: true, the dedup comparison is wrong — lastJson is being set before the check.
Fix, then remove the DEBUG() calls (or keep one in broadcast if the dedup logic is tricky enough to warrant permanent observability).
© adam-s, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/debug-logs of adam-s/intercept.
Open the folder on GitHubat commit 6451b89
Debug Logs next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Debug Logs this skilladam-s/intercept | 189 | — | ~1.1k | Automated safety check: Pass | MIT | |
| Supabase Development and Debuggingsupabase/agent-skills | 2.7k | 3 repos | ~3.6k | Automated safety check: Pass | MIT | |
| Debugging Websocket IssuesAgentWorkforce/relay | 865 | 1 repos | ~1.3k | Automated safety check: Pass | Apache-2.0 | |
| Gateway Proxy Debugvercel-labs/vercel-openclaw-archived | 117 | — | ~573 | Automated safety check: Pass | MIT | |
| Realtimebutterbase-ai/butterbase-skills | 534 | — | ~2.1k | Automated safety check: Pass | MIT | |
| Fullstack Devinfometa/workbuddyskills | 342 | — | ~1k | Automated safety check: Pass | MIT |
supabase/agent-skills
General Supabase skill for database, auth, Edge Functions, Realtime and storage work, plus client libraries, migrations, security audits, debugging and reading logs.
AgentWorkforce/relay
A skill your agent uses when seeing WebSocket errors like "Invalid frame header", "RSV1 must be clear", or "WSERRUNEXPECTEDRSV1" - covers multiple WebSocketServer conflicts, compression issues, and…
vercel-labs/vercel-openclaw-archived
Gateway and proxy debugging for vercel-openclaw: /gateway routing, HTML injection, WebSocket rewrite, gateway-token handoff, waiting page, status heartbeat, sandbox port URL cache, and proxy auth.
butterbase-ai/butterbase-skills
A skill your agent uses when enabling WebSocket subscriptions for live database changes, presence/multiplayer state, or when debugging clients that connect but receive no events
infometa/workbuddyskills
Full-stack backend architecture and frontend-backend integration guide.
easyeda/easyeda-api-skill
Gives an agent the EasyEDA Pro API reference and a WebSocket bridge to run code in a live EasyEDA client, for PCB, schematic and library work and extension development.
adam-s/intercept
Discover any website's API and create domain plugins with proxy routes.
adam-s/intercept
Build a complete application from a short description. An agent skill from adam-s/intercept.
adam-s/intercept
Use sub-agents to iteratively improve dashboard-building instructions.
adam-s/intercept
Use sub-agents as test subjects to iteratively improve .claude/ instruction files.
adam-s/intercept
Bottom-up systematic validation for multi-layer architectures.
adam-s/intercept
Deploy to EC2 production server. An agent skill from adam-s/intercept.
Categories
Iterative debugging with targeted logs. An agent skill from adam-s/intercept. Debug Logs is an agent skill from adam-s/intercept. Iterative debugging with targeted logs.
Debug Logs fits situations like: browser connections fail; traffic capture returns empty; proxy routes return errors; webSocket issues.
Run `npx skills add adam-s/intercept --skill debug-logs -a claude-code`. Or copy the skill folder (.claude/skills/debug-logs in adam-s/intercept) into .claude/skills/debug-logs in your project. Claude Code loads it when a task matches its description.
Run `npx skills add adam-s/intercept --skill debug-logs -a codex`. Or copy the skill folder (.claude/skills/debug-logs in adam-s/intercept) into .agents/skills/debug-logs in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add adam-s/intercept --skill debug-logs -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/debug-logs, .gemini/skills/debug-logs, .github/skills/debug-logs and .opencode/skills/debug-logs in your project.
SKILL.md names no scripts, command-line tools or credentials: Debug Logs is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Debug Logs is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.1k tokens (SKILL.md is roughly 4.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Debug Logs: Supabase Development and Debugging (supabase/agent-skills, 2.7k stars), Debugging Websocket Issues (AgentWorkforce/relay, 865 stars), Gateway Proxy Debug (vercel-labs/vercel-openclaw-archived, 117 stars) and Realtime (butterbase-ai/butterbase-skills, 534 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
adam-s (a GitHub user) maintains it in adam-s/intercept, which has 189 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on July 31, 2026.
Source: adam-s/intercept on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.