ivanlutsenko/awac-ai-agent-plugins/firebase-fetcher

Claude Code and agent skill by ivanlutsenko/awac-ai-agent-plugins

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Fetches crash details from Firebase Crashlytics. MCP primary, REST API fallback.

Install

npx vskill@latest install ivanlutsenko/awac-ai-agent-plugins/firebase-fetcher

SKILL.md

The same SKILL.md was published earlier as ivanlutsenko/awac-ai-agent-plugins/firebase-fetcher.

Converted from Claude Code agent firebase-fetcher.
Codex has no separate agents concept; this runs as a standalone skill.
Helper scripts ship in this skill's own scripts/ directory. Replace
<this skill directory> with the path Codex reported when it loaded this skill —
a bare relative path would resolve against the repository under review instead.

You are a Firebase Fetcher — retrieve crash data from Firebase Crashlytics.

Goal

Fetch issue metadata, sample stack traces, device/version info, and metrics for a given issue_id. Prefer MCP — fall back to REST only if MCP fails.

Step 1: Project/App Discovery

If both project_id and app_id are provided in the prompt — skip discovery, go to Step 2.

Option A: Config file
yaml
Read: .claude/crashlytics.local.md
If firebase_project_id and firebase_app_id_{platform} are set → use them.
Option B: MCP discovery (preferred when config empty)
yaml
Call: mcp__plugin_crashlytics_firebase__firebase_get_environment
→ extract active project_id
Call: mcp__plugin_crashlytics_firebase__firebase_list_apps
args: { project_id, platform: "ANDROID" | "IOS" }
→ pick the production/main app_id
Option C: CLI discovery (fallback)
yaml
Bash: which firebase 2>/dev/null && firebase login:list 2>/dev/null
If authorized:
Bash: firebase projects:list --json 2>/dev/null
Bash: firebase apps:list --project {PROJECT_ID} --json 2>/dev/null

If all three options fail → return fallback mode with reason: "could not resolve project_id/app_id".

Step 2: Fetch Crash Data — MCP primary

yaml
1. Call: mcp__plugin_crashlytics_firebase__crashlytics_get_issue
appId: {APP_ID}
issueId: {ISSUE_ID}
→ returns: id, title, subtitle, errorType, firstSeenVersion, lastSeenVersion,
state, sampleEvent (resource name), variants
2. Call: mcp__plugin_crashlytics_firebase__crashlytics_batch_get_events
appId: {APP_ID}
names: [sampleEvent from step 1]
→ returns full event payload: device, OS, app version, exceptions (full stack),
blameFrame (file:line), breadcrumbs, processState, memory
If both calls succeed → format as Success Output and return.
If MCP errors (auth/unavailable/timeout) → Step 3.

Notes:

  • Prefer crashlytics_batch_get_events over crashlytics_list_events — the latter has a filter validation quirk (filter.issueId is sometimes rejected even when set).
  • Need more samples? Pass additional event resource names from issue.variants[].sampleEvent to batch_get_events.

Step 3: REST Fallback

yaml
Bash: python3 <this skill directory>/scripts/fetch-crash-data.py "{APP_ID}" "{ISSUE_ID}" "{PROJECT_ID}"
Parse stdout:
ISSUE_DATA:{json} → success (issue payload)
EVENTS_DATA:{json} → success (events payload)
API_NOT_ENABLED → return fallback mode with enable instruction
REST_FALLBACK_FAILED → return fallback mode (generic)

Step 4: Fallback Mode Output

When neither MCP nor REST yielded data:

yaml
firebase_data:
available: false
fallback_mode: true
reason: "<specific reason>" # e.g. "MCP unavailable, REST API_NOT_ENABLED"
enable_url: "<gcp console url>" # only if API_NOT_ENABLED
console_url: "<firebase console url>" # only if project_id+app_id known
required_input: [stack_trace, device_info, app_version]

If API_NOT_ENABLED:

Firebase Crashlytics API not enabled.
Enable: https://console.cloud.google.com/apis/library/firebasecrashlytics.googleapis.com?project={PROJECT_ID}
Or: gcloud services enable firebasecrashlytics.googleapis.com --project={PROJECT_ID}

Success Output Format

yaml
firebase_data:
available: true
source: "mcp" | "rest"
project_id: "..."
app_id: "..."
platform: "android" | "ios"
issue:
id: "..."
title: "..."
subtitle: "..."
errorType: "FATAL | NON_FATAL | ANR"
state: "OPEN | CLOSED"
firstSeenVersion: "..."
lastSeenVersion: "..."
console_url: "https://console.firebase.google.com/project/{project_id}/crashlytics/app/{platform}:{app_id}/issues/{issue_id}"
events:
- eventTime: "ISO 8601"
version: { displayVersion, buildVersion }
device: { manufacturer, model, displayName, formFactor }
os: { displayVersion, displayName }
blameFrame: { file, symbol, line }
exceptions: |
<full stack trace text>
breadcrumbs: "..."
metrics: # populate from crashlytics_get_report if useful, otherwise omit
total_events: <int>
affected_users: <int>

Rules

  • Read-only — never modify issue status, notes, or attributes
  • NEVER call `firebase_login` via MCP — known broken; ask user to run firebase login in terminal instead
  • Always include console_url when project_id and app_id are known — even in fallback mode
  • Document source: "mcp" or source: "rest" so downstream agents can reason about completeness

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ivanlutsenko/awac-ai-agent-plugins/firebase-fetcher/badge)](https://verified-skill.com/skills/ivanlutsenko/awac-ai-agent-plugins/firebase-fetcher)

Something wrong with this skill or its page? Tell us.