用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/jleechanorg/claude-commands --skill firebase-campaign-copy命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Token-efficient second opinion slash command /advice. Extracts decision point + artifact (≤150 lines), then fans out in parallel: (1) Opus subagent reviewer with fallback chain codex→agy→cursor, (2) /research on the decision topic, (3) /secondo multi-model opinion. Use instead of advisor() which ships the full conversation uncached.
Use this skill when working in repositories managed by Agent Orchestrator or when the user asks how to use `ao` properly. Covers the default AO workflow: bootstrap with `ao start`, dispatch work with `ao spawn`, inspect progress with `ao status` or `ao session ls`, steer sessions with `ao send`, and recover or clean up sessions safely. Includes strict parameter fidelity, pre-spawn cap cleanup, quota-wall fallback, and post-spawn verification.
Generate a full agento PR status report — draft readiness, canonical /green, zero-touch rate, inline display, and Slack summary.
基于 SOC 职业分类
正在显示 SKILL.md
| name | firebase-campaign-copy |
| description | Copy production Firebase campaigns across users for testing with Admin SDK. |
Copy production campaigns across users for testing without auth bypass, using Firebase Admin SDK.
export WORLDAI_DEV_MODE=true
export WORLDAI_GOOGLE_APPLICATION_CREDENTIALS=~/serviceAccountKey.json
Location: scripts/copy_campaign.py
Features:
# Auto-finds source user, copies to destination user
WORLDAI_DEV_MODE=true \
WORLDAI_GOOGLE_APPLICATION_CREDENTIALS=~/serviceAccountKey.json \
python scripts/copy_campaign.py \
--find-by-id JXXNfJpdqNtH60HN942q \
--dest-user-id 0wf6sCREyLcgynidU5LjyZEfm7D2 \
--suffix "(test copy)"
# Searches all users for matching title
WORLDAI_DEV_MODE=true \
WORLDAI_GOOGLE_APPLICATION_CREDENTIALS=~/serviceAccountKey.json \
python scripts/copy_campaign.py \
--find-by-title "gaia julia v2" \
--dest-user-id 0wf6sCREyLcgynidU5LjyZEfm7D2
WORLDAI_DEV_MODE=true \
WORLDAI_GOOGLE_APPLICATION_CREDENTIALS=~/serviceAccountKey.json \
python scripts/copy_campaign.py \
SOURCE_UID \
SOURCE_CAMPAIGN_ID \
--dest-user-id DEST_UID
Use campaign_manager.py:
WORLDAI_DEV_MODE=true \
WORLDAI_GOOGLE_APPLICATION_CREDENTIALS=~/serviceAccountKey.json \
python scripts/campaign_manager.py find-user <your-email@gmail.com>
Output:
✅ Found user: <your-email@gmail.com>
🆔 Firebase UID: 0wf6sCREyLcgynidU5LjyZEfm7D2
Scenario: Copy campaign JXXNfJpdqNtH60HN942q from $USER@gmail.com to your-email@gmail.com
Steps:
# 1. Find destination user UID
WORLDAI_DEV_MODE=true python scripts/campaign_manager.py find-user <your-email@gmail.com>
# Output: 0wf6sCREyLcgynidU5LjyZEfm7D2
# 2. Copy campaign (auto-finds source user)
WORLDAI_DEV_MODE=true python scripts/copy_campaign.py \
--find-by-id JXXNfJpdqNtH60HN942q \
--dest-user-id 0wf6sCREyLcgynidU5LjyZEfm7D2 \
--suffix "(test copy)"
# Output:
# ✅ Created new campaign: qwN7EwNqbJXnl5y3Npjj
# 📝 Name: gaia julia v2 (test copy)
# ✅ Copied 362 documents from story
# ✅ Copied 1 documents from game_states
Success:
✅ Created new campaign: qwN7EwNqbJXnl5y3Npjj
📝 Name: gaia julia v2 (test copy)
✅ Copied 362 documents from story
✅ Copied 1 documents from game_states
✅ Campaign copied successfully!
📋 Campaign ID: qwN7EwNqbJXnl5y3Npjj
💡 To access: Use your environment's base URL + /game/qwN7EwNqbJXnl5y3Npjj
When a bug is reported, copy the campaign immediately so the reproduction uses the exact state at the time of report (not a later mutated state).
# 1) Copy the campaign immediately (preserves all fields + subcollections).
# Use a timestamped suffix so we can trace the report state later.
WORLDAI_DEV_MODE=true \
WORLDAI_GOOGLE_APPLICATION_CREDENTIALS=~/serviceAccountKey.json \
python scripts/copy_campaign.py \
--find-by-id <CAMPAIGN_ID> \
--dest-user-id <DEST_UID> \
--suffix "(bug report 2026-02-02T02:03Z)"
# Output includes the new campaign ID:
# ✅ Created new campaign: <NEW_CAMPAIGN_ID>
# 2) Capture the copied game state for reproducibility.
WORLDAI_DEV_MODE=true \
WORLDAI_GOOGLE_APPLICATION_CREDENTIALS=~/serviceAccountKey.json \
python scripts/fetch_campaign_gamestate.py <NEW_CAMPAIGN_ID>
# 3) Export the story log for context (optional but recommended).
WORLDAI_DEV_MODE=true \
WORLDAI_GOOGLE_APPLICATION_CREDENTIALS=~/serviceAccountKey.json \
python scripts/download_campaign.py --uid <DEST_UID> \
--campaign-id <NEW_CAMPAIGN_ID> --output-dir /tmp/your-project.com/bug_repros
Testing with Production Data
User Data Migration
Campaign Duplication
See also:
scripts/campaign_manager.py - Query campaigns, analytics, deletionscripts/CLAUDE.md - Full Firebase operations documentation.claude/skills/firebase-prod-campaigns.md - Production campaign queries