debug-code-task — how to use debug-code-task how to use debug-code-task, debug-code-task setup guide, debug-code-task alternative, debug-code-task vs intexuraos, what is debug-code-task, debug-code-task install, debug-code-task firestore integration, debug-code-task log analysis, debug-code-task ai agent skill

v1.0.0
GitHub

About this Skill

Perfect for AI Agent Developers needing efficient code-agent task execution analysis and debugging capabilities with Firestore integration. debug-code-task is a skill that investigates code-agent task execution by fetching task metadata and logs from Firestore for AI agent task analysis

Features

Extracts task ID and environment from URLs like https://dev.intexuraos.cloud/#/code-tasks/task_*
Supports invocation detection for prod and dev environments
Fetches task metadata and logs from Firestore for in-depth analysis
Analyzes task execution using task_<uuid> input patterns
Enables log analysis for code-agent task execution

# Core Topics

pbuchman pbuchman
[8]
[1]
Updated: 3/8/2026

Quality Score

Top 5%
42
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
Cursor IDE Windsurf IDE VS Code IDE
> npx killer-skills add pbuchman/intexuraos/debug-code-task

Agent Capability Analysis

The debug-code-task MCP Server by pbuchman is an open-source Community integration for Claude and other AI agents, enabling seamless task automation and capability expansion. Optimized for how to use debug-code-task, debug-code-task setup guide, debug-code-task alternative.

Ideal Agent Persona

Perfect for AI Agent Developers needing efficient code-agent task execution analysis and debugging capabilities with Firestore integration.

Core Value

Empowers agents to investigate code-agent task execution by fetching task metadata and logs from Firestore, utilizing invocation detection with URL patterns and UUID extraction, enabling efficient task execution analysis with env=dev and env=prod environments.

Capabilities Granted for debug-code-task MCP Server

Debugging code-agent task failures by analyzing Firestore logs
Analyzing task metadata for performance optimization
Extracting task IDs from URLs for automated task monitoring

! Prerequisites & Limits

  • Requires Firestore access and configuration
  • Limited to tasks with specific URL patterns or UUID formats
Project
SKILL.md
3.9 KB
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8

# Tags

[No tags]
SKILL.md
Readonly

Debug Code Task

Investigate code-agent task execution by fetching task metadata and logs from Firestore.

Invocation Detection

Input PatternAction
https://dev.intexuraos.cloud/#/code-tasks/task_*Extract task ID, env=dev
https://intexuraos.cloud/#/code-tasks/task_*Extract task ID, env=prod
task_<uuid> + "debug"/"investigate"/"what went wrong"Use task ID directly

Phase 1: Environment Detection

Parse the URL. Do NOT fetch it — hash-routed SPA returns only shell HTML.

Signaldevprod
URLdev.intexuraos.cloudintexuraos.cloud (no dev.)

Run uname -n to confirm current machine.

Phase 2: Fetch Task Document

Extract task ID from URL hash: /#/code-tasks/{taskId} — everything after the last /.

Run from monorepo root (required for firebase-admin module resolution):

bash
1node .claude/skills/debug-code-task/scripts/fetch-task.cjs <taskId>

Print key fields as a summary table: id, status, linearIssueId, workerLocation, agentType, result.summary, error.

Phase 3: Fetch Log Lines

bash
1node .claude/skills/debug-code-task/scripts/fetch-task.cjs <taskId> --logs-only

Use --logs instead to fetch both task document and logs in one call. Pipe through head -N if user wants a subset. Logs are ordered by sequence number. Each line has format: [sequence] HH:MM:SS.mmm [source] message.

Present log lines to user. Do NOT analyze or speculate about root cause without evidence from the logs.

Phase 4: Orchestrator & Container Logs (optional, on request)

Only needed when Firestore logs are insufficient.

The orchestrator runs on the same machine as the worker. Read workerLocation from the task document (Phase 2) to determine which machine.

Orchestrator Logs

Check uname -n vs task's workerLocation. If on a different machine:

  • From mac-dev → SSH to home-dev: ssh home-dev journalctl -u intexuraos-orchestrator@pbuchman --since ... --until ...
  • From home-dev → cannot SSH to mac-dev. Tell the user.
MachineHow orchestrator runsLog command
home-devsystemd (intexuraos-orchestrator@pbuchman)journalctl -u intexuraos-orchestrator@pbuchman --since "<time>" --until "<time>"
mac-devpnpm --filter orchestrator dev in ~/deploy/intexuraos/Terminal output where the dev process is running. Code not auto-deployed on push.

Derive time window from task document createdAt._seconds and completedAt._seconds:

bash
1date -d @<createdAt._seconds> '+%Y-%m-%d %H:%M:%S' # --since (subtract 1 min) 2date -d @<completedAt._seconds> '+%Y-%m-%d %H:%M:%S' # --until (add 1 min)

Docker Container Logs

Containers are named claude-worker-{taskId}:

bash
1docker logs claude-worker-{taskId}

Only available while the container exists (running or exited but not yet removed). If the container is gone, Firestore log lines (Phase 3) are the only source.

Critical Rules

  1. NEVER WebFetch/curl the SPA URL. Data is in Firestore, not the HTML page.
  2. NEVER run node scripts from /tmp. firebase-admin resolves from monorepo node_modules.
  3. NEVER use node -e for scripts with !. Shell escapes ! — use the script file.
  4. NEVER speculate about what went wrong. Present facts from the task document and logs. Let the user drive analysis.

Related Skills

Looking for an alternative to debug-code-task or building a Community AI Agent? Explore these related open-source MCP Servers.

View All

widget-generator

Logo of f
f

widget-generator is an open-source AI agent skill for creating widget plugins that are injected into prompt feeds on prompts.chat. It supports two rendering modes: standard prompt widgets using default PromptCard styling and custom render widgets built as full React components.

149.6k
0
Design

testing

Logo of lobehub
lobehub

Testing is a process for verifying AI agent functionality using commands like bunx vitest run and optimizing workflows with targeted test runs.

73.3k
0
Communication

chat-sdk

Logo of lobehub
lobehub

chat-sdk is a unified TypeScript SDK for building chat bots across multiple platforms, providing a single interface for deploying bot logic.

73.0k
0
Communication

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication