Chalk Labs
Need help deploying diagnosing-bugs?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/betofrega-diagnosing-bugs
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Nov 1, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Shell scripts
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/diagnosing-bugs
What's inside
- Skill name
diagnosing-bugs- Description
- Diagnose hard bugs and performance regressions. Use when debugging failures or slowness.
- License
- MIT
- Instructions
- 12 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (4)
- LICENSE
- SKILL.md
- openai.yaml · agents/
- hitl-loop.template.sh · scripts/
SKILL.md (first lines)
# Diagnosing bugs Read relevant domain and ADR guidance. Justify skipped phases. Redact secrets as `<REDACTED>`; use environment credentials and show only diagnostic evidence. 1. **Build a tight, red-capable loop.** Run and show one command and redacted output proving the user's exact symptom. Require unattended execution, repeatability, and seconds-scale feedback; for intermittent bugs, establish a high reproduction rate. Prioritize this loop before hypotheses. If human interaction is unavoidable, use [the HITL template](scripts/hitl-loop.template.sh). Without a working loop, report attempts and request access or redacted evidence. Before requesting authorization for temporary production instrumentation, inspect existing provider telemetry as described in step 4. Ask when redaction removes the needed signal. 2. **Reproduce and minimize.** Capture the exact failure and reproduce it repeatedly. Remove one element at a time, rerunning the loop. Proceed when every remaining element is load-bearing: removing any one makes the loop green. 3. **Hypothesize.** Generate 3–5 ranked, falsifiable hypotheses with predicted observations. Show them before testing, incorporate user corrections, and continue without requiring a reply. 4. **Instrument.** First inspect existing telemetry in the relevant providers. Record the time window, filters, sampling and correlation; check exact identifiers and individual spans when a root-only trace search is empty. An empty query does not establish absence of failure or instrumentation. Identify the missing diagnostic evidence before adding signals. Test predictions, changing one variable at a time. Prefer debugger/REPL, then targeted logs with a unique debug prefix. For performance regressions, measure a baseline and bisect. 5. **Fix and protect.** At a seam exercising the real bug pattern, write the regression test before fixing; watch it fail, apply the fix, and watch it pass. If no suitable seam exists, document the architectural limitation instead of claiming regression coverage. Then run variant analysis as [Fix Root Causes](../beto-mode/principles/fix-root-causes.md) describes. 6. **Verify and clean up.** Rerun the original, unminimized scenario and verify green; require a passing regression test or document missing coverage. Remove temporary instrumentation and delete throwaway harnesses or retain them in a clearly marked debug location. Keep cleanup apart from recovery: restoring a prior version or getting green probes is a fix only with causal evidence and verification of the affected journey. Record the confirmed cause in the commit or PR; retain inconclusive results and remaining gaps in the diagnostic record.
From BetoFrega/skills, MIT.
More from BetoFrega/skills
- 0.567score
code-review
BetoFrega
Review branch, PR, or in-progress changes from a commit, branch, tag, or merge-base across standards, spec, performance, observability, and accessibility.
SkillAFreshness: AClaude Code +9 - 0.567score
consolidate
BetoFrega
Consolidate canonical product knowledge, ideas, behavior, decisions, increments, and evidence; route technical decisions and reconcile delivery, exposure, and…
SkillAFreshness: AClaude Code +9 - 0.567score
grilling
BetoFrega
Clarify and stress-test a selected plan, decision, idea, or product increment through scoped interview rounds.
SkillAFreshness: AClaude Code +9 - 0.565score
explain-pr
BetoFrega
Explain large or complex pull requests as a navigable HTML guide, tracing user journeys from entrypoints through changed code.
SkillAFreshness: AClaude Code +9 - 0.564score
autonomous-decisions
BetoFrega
Resolve a specified set of decisions through independent deliberation and evidence-based judgment.
SkillAFreshness: AClaude Code +9 - 0.561score
domain-modeling
BetoFrega
Build and sharpen domain terms and relationships, or write/edit the domain glossary in CONTEXT.md.
SkillAFreshness: AClaude Code +9 - 0.561score
advisory
BetoFrega
Consult for stalls, repeated errors, complex algorithms, unresolved cross-layer interactions, or consequential decisions, diagnoses, plans, and reviews.
SkillAFreshness: AClaude Code +9 - 0.561score
beto-mode
BetoFrega
Read first for multi-step, design, implementation, debugging, planning, or review work.
SkillAFreshness: AClaude Code +9 - 0.561score
esds-decompress
BetoFrega
Decompress ESDS payloads into compact human-readable text.
SkillAFreshness: AClaude Code +9 - 0.561score
esds-compress
BetoFrega
Compress input using Exponential Semantic Density Scaling (ESDS).
SkillAFreshness: AClaude Code +9 - 0.558score
implement-spec
BetoFrega
Implement an entire specification and its ticket graph as one PR.
SkillAFreshness: AClaude Code +9 - 0.556score
host-network
BetoFrega
Request host execution when sandbox network restrictions cause connection failures or misleading CLI authentication errors, including gh.
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 8, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/BetoFrega/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from BetoFrega
- 0.567score
consolidate
BetoFrega
Consolidate canonical product knowledge, ideas, behavior, decisions, increments, and evidence; route technical decisions and reconcile delivery, exposure, and…
SkillAFreshness: AClaude Code +9 - 0.567score
grilling
BetoFrega
Clarify and stress-test a selected plan, decision, idea, or product increment through scoped interview rounds.
SkillAFreshness: AClaude Code +9 - 0.567score
code-review
BetoFrega
Review branch, PR, or in-progress changes from a commit, branch, tag, or merge-base across standards, spec, performance, observability, and accessibility.
SkillAFreshness: AClaude Code +9 - 0.565score
explain-pr
BetoFrega
Explain large or complex pull requests as a navigable HTML guide, tracing user journeys from entrypoints through changed code.
SkillAFreshness: AClaude Code +9 - 0.564score
autonomous-decisions
BetoFrega
Resolve a specified set of decisions through independent deliberation and evidence-based judgment.
SkillAFreshness: AClaude Code +9 - 0.561score
advisory
BetoFrega
Consult for stalls, repeated errors, complex algorithms, unresolved cross-layer interactions, or consequential decisions, diagnoses, plans, and reviews.
SkillAFreshness: AClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get diagnosing-bugs running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
diagnosing-bugs skill. Agent Mart. https://agentmart.dev/skills/betofrega-diagnosing-bugs (last updated 2026-10-24)