astroclaw-debugging
Debug Astroclaw model, provider, tool-surface, code-mode, streaming, and live/Crabbox behavior by choosing the right logs, probes, and proof path before…
Skill by P1R4N351
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/p1r4n351-astroclaw-debugging
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. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/astroclaw-debugging
What's inside
- Skill name
astroclaw-debugging- Description
- Debug Astroclaw model, provider, tool-surface, code-mode, streaming, and live/Crabbox behavior by choosing the right logs, probes, and proof path before changing code.
- License
- MIT
- Instructions
- 111 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- openai.yaml · agents/
SKILL.md (first lines)
# Astroclaw Debugging Use this skill when Astroclaw behavior differs between local tests, live models, providers, code mode, Tool Search, Crabbox, or CI, and the next move should be a debug signal rather than a guess. ## Read First - `docs/logging.md` for log files, `astroclaw logs`, and targeted debug flags. - `docs/reference/test.md` for local test commands. - `docs/reference/code-mode.md` for code-mode exec/wait and tool catalog rules. - Use `$astroclaw-testing` for choosing test lanes. - Use `$crabbox` for broad, Docker, package, Linux, live-key, or CI-parity proof. ## Default Loop 1. State the suspected boundary: config, tool construction, provider payload, fetch, stream/SSE, transcript replay, worker/runtime, package/dist, or CI. 2. Add or enable the narrowest signal that proves that boundary. 3. Reproduce with the same provider/model/config. Do not randomly switch models unless the model itself is the variable being tested. 4. Compare configured state with actual run activation. 5. Patch the root cause. 6. Rerun the exact failing probe, then broaden only if the contract requires it. ## Model Transport Logs Use targeted env flags instead of global debug when the model request shape or stream timing matters: ```bash ASTROCLAW_DEBUG_MODEL_TRANSPORT=1 astroclaw gateway ASTROCLAW_DEBUG_MODEL_PAYLOAD=tools ASTROCLAW_DEBUG_SSE=events astroclaw gateway ASTROCLAW_DEBUG_MODEL_PAYLOAD=full-redacted ASTROCLAW_DEBUG_SSE=peek astroclaw gateway ``` Useful flags: - `ASTROCLAW_DEBUG_MODEL_TRANSPORT=1`: request start, fetch response, SDK headers, first SSE event, stream done, and transport errors at `info`. - `ASTROCLAW_DEBUG_MODEL_PAYLOAD=summary`: bounded payload summary. - `ASTROCLAW_DEBUG_MODEL_PAYLOAD=tools`: all model-facing tool names. - `ASTROCLAW_DEBUG_MODEL_PAYLOAD=full-redacted`: capped, redacted JSON payload. Use only while debugging; prompts/message text may still appear. - `ASTROCLAW_DEBUG_SSE=events`: first-event and stream-completion timing. - `ASTROCLAW_DEBUG_SSE=peek`: first five redacted SSE events. - `ASTROCLAW_DEBUG_CODE_MODE=1`: code-mode tool-surface diagnostics. Watch logs with: ```bash astroclaw logs --follow ``` ## Common Boundaries - **Config vs activation:** config can be enabled while the run disables tools, is raw, has an empty allowlist, or lacks model tool support. Check the actual visible tools before enforcing provider payload invariants. - **Tool surface:** inspect final model-visible tool names, not only the tool registry or config. Code mode means exactly `exec` and `wait` only after it actually activates. - **Provider payload:** log fields, model id, service tier, reasoning, input size, metadata keys, prompt-cache key presence, and tool names before SDK call. - **Fetch vs SSE:** fetch response proves HTTP headers arrived; first SSE event proves provider body progress. A gap here is a stream/body/provider issue, not tool execution. - **Worker/dist:** run `pnpm build` when touching workers, dynamic imports, package exports, lazy runtime boundaries, or published paths. - **Live keys:** use the configured secret workflow for missing provider keys before saying live proof is blocked. Env checks are presence-only; never print secrets. ## Code Pointers - Model payload + Responses stream: `src/agents/openai-transport-stream.ts` - Guarded fetch/timing: `src/agents/provider-transport-fetch.ts` - OpenAI/Codex provider wrappers: `src/agents/pi-embedded-runner/openai-stream-wrappers.ts` - Tool construction, Tool Search, code-mode activation: `src/agents/pi-embedded-runner/run/attempt.ts` - Code-mode runtime and worker: `src/agents/code-mode.ts` `src/agents/code-mode.worker.ts` - Tool Search catalog: `src/agents/tool-search.ts` ## Proof Choice - Single helper/payload bug: local targeted Vitest. - Docs/logging-only: `pnpm check:docs` and `git diff --check`. - Worker/dist/lazy import/package surface: targeted tests plus `pnpm build`. - Live provider/model behavior: same provider/model with debug flags and a real key if available. - Docker/package/Linux/CI-parity: `$crabbox`. - CI failure: exact SHA, relevant job only, logs only after failure/completion. ## Output Habit Report: - boundary tested - exact command/env shape, redacted - observed signal, such as tool names or first SSE event timing - fix location - narrow proof and any remaining risk
From P1R4N351/astroclaw, MIT.
More from P1R4N351/astroclaw
- 0.476score
astroclaw-release-ci
P1R4N351
Run, watch, debug, and summarize Astroclaw full release CI, release checks, live provider gates, install/update proofs, and release-secret preflights.
SkillCFreshness: CClaude Code +9 - 0.476score
astroclaw-pr-maintainer
P1R4N351
Use immediately for any pasted Astroclaw GitHub issue or PR URL/number, and for Astroclaw issue/PR review, triage, duplicate search, opener identity/who wrote…
SkillCFreshness: CClaude Code +9 - 0.471score
clawsweeper
P1R4N351
Use for all ClawSweeper work: Astroclaw issue/PR sweep reports, commit-review reports, repair jobs, cloud fix PRs, @clawsweeper maintainer mention commands…
SkillCFreshness: CClaude Code +9 - 0.471score
astroclaw-test-performance
P1R4N351
Benchmark, diagnose, and optimize Astroclaw test and plugin-suite runtime, import hotspots, CPU/RSS, heap growth, and slow coverage paths.
SkillCFreshness: CClaude Code +9 - 0.471score
astroclaw-pre-release-plugin-testing
P1R4N351
Plan and run pre-release Astroclaw plugin validation across bundled plugins, package artifacts, lifecycle commands, doctor/fix, config round-trip, gateway…
SkillCFreshness: CClaude Code +9 - 0.471score
clawdtributor
P1R4N351
Use for Astroclaw clawtributors PR/issue triage: Discrawl discovery, live-open rechecks, deep review, topic grouping, and compact…
SkillCFreshness: CClaude Code +9 - 0.469score
codex-review
P1R4N351
Codex code review closeout: local dirty changes, PR branch vs main, parallel tests.
SkillCFreshness: CClaude Code +9 - 0.469score
astroclaw-test-heap-leaks
P1R4N351
Investigate Astroclaw pnpm test memory growth, Vitest OOMs, RSS spikes, and heap snapshot deltas.
SkillCFreshness: CClaude Code +9 - 0.469score
astroclaw-docs
P1R4N351
Write or review high-quality Astroclaw developer documentation.
SkillCFreshness: CClaude Code +9 - 0.469score
astroclaw-ghsa-maintainer
P1R4N351
Inspect, patch, validate, publish, or confirm Astroclaw GHSA security advisories and private-fork state.
SkillCFreshness: CClaude Code +9 - 0.469score
astroclaw-parallels-smoke
P1R4N351
Run, rerun, debug, or interpret Astroclaw Parallels install, onboarding, gateway smoke, and upgrade checks.
SkillCFreshness: CClaude Code +9 - 0.469score
astroclaw-refactor-docs
P1R4N351
Refactor an existing Astroclaw docs page with source-audited preservation, restructuring, and verification.
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- May 17, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/P1R4N351/astroclaw
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from P1R4N351
- 0.476score
astroclaw-release-ci
P1R4N351
Run, watch, debug, and summarize Astroclaw full release CI, release checks, live provider gates, install/update proofs, and release-secret preflights.
SkillCFreshness: CClaude Code +9 - 0.476score
astroclaw-pr-maintainer
P1R4N351
Use immediately for any pasted Astroclaw GitHub issue or PR URL/number, and for Astroclaw issue/PR review, triage, duplicate search, opener identity/who wrote…
SkillCFreshness: CClaude Code +9 - 0.471score
astroclaw-pre-release-plugin-testing
P1R4N351
Plan and run pre-release Astroclaw plugin validation across bundled plugins, package artifacts, lifecycle commands, doctor/fix, config round-trip, gateway…
SkillCFreshness: CClaude Code +9 - 0.471score
clawdtributor
P1R4N351
Use for Astroclaw clawtributors PR/issue triage: Discrawl discovery, live-open rechecks, deep review, topic grouping, and compact…
SkillCFreshness: CClaude Code +9 - 0.471score
clawsweeper
P1R4N351
Use for all ClawSweeper work: Astroclaw issue/PR sweep reports, commit-review reports, repair jobs, cloud fix PRs, @clawsweeper maintainer mention commands…
SkillCFreshness: CClaude Code +9 - 0.471score
astroclaw-test-performance
P1R4N351
Benchmark, diagnose, and optimize Astroclaw test and plugin-suite runtime, import hotspots, CPU/RSS, heap growth, and slow coverage paths.
SkillCFreshness: CClaude Code +9
Cite this page
astroclaw-debugging skill. Agent Mart. https://agentmart.dev/skills/p1r4n351-astroclaw-debugging (last updated 2026-10-24)