一键导入
shadowhound-platform
ShadowHound ecosystem — repos, architecture, agent API, and operational context for Mission Reunite and Mission Hub.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
ShadowHound ecosystem — repos, architecture, agent API, and operational context for Mission Reunite and Mission Hub.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Mission Reunite SAR platform API. Read cases, post intel enrichments, analyze spatial patterns. Experimental branch at shadowhound-case-api-experimental.up.railway.app.
Set up GitHub authentication for the agent using git (universally available) or the gh CLI. Covers HTTPS tokens, SSH keys, credential helpers, and gh auth — with a detection flow to pick the right method automatically.
Captures learnings, errors, and corrections to enable continuous improvement. Use when: (1) A command or operation fails unexpectedly, (2) User corrects Claude ('No, that's wrong...', 'Actually...'), (3) User requests a capability that doesn't exist, (4) An external API or tool fails, (5) Claude realizes its knowledge is outdated or incorrect, (6) A better approach is discovered for a recurring task. Also review learnings before major tasks.
Analyze images, screenshots, diagrams, charts, and videos using z.ai vision MCP tools. Use when Dan shares an image, screenshot, video, or when visual analysis is needed. Tools: ui_to_artifact, extract_text_from_screenshot, diagnose_error_screenshot, understand_technical_diagram, analyze_data_visualization, ui_diff_check, analyze_image, analyze_video. All 8 tools tested & validated (2026-02-21).
Search the web and fetch page content using z.ai MCP tools. Use when you need web search or content extraction. Tools: webSearchPrime (search with filters), webReader (fetch and extract page content), zread (search documentation repos).
Location intelligence — geocode a place, reverse-geocode coordinates, find nearby places (44 POI categories), driving/walking/cycling distance + time, turn-by-turn directions, timezone lookup, bounding box + area for a named place, and POI search within a rectangle. Uses OpenStreetMap + Overpass + OSRM. Free, no API key.
| name | shadowhound-platform |
| description | ShadowHound ecosystem — repos, architecture, agent API, and operational context for Mission Reunite and Mission Hub. |
| version | 1.0.0 |
| author | Hermes Agent |
| license | MIT |
| metadata | {"hermes":{"tags":["ShadowHound","Mission Reunite","Mission Hub","Case API","SAR"],"related_skills":["github-auth","github-repo-management","mission-reunite-api"]}} |
ShadowHound is a multi-repo SAR (search and rescue) ecosystem. This skill documents the current state, architecture, and how the pieces fit together.
| Repo | Purpose | Local Path |
|---|---|---|
mission-reunite-web | React 19 + Vite frontend for pet owners/coordinators | ~/mission-reunite-web |
shadowhound-case-api | FastAPI + SQLAlchemy backend, PostgreSQL | ~/shadowhound-case-api |
shadowhound-platform | Architecture docs, ADRs, roadmap, cross-repo alignment | ~/shadowhound-platform |
shadowhound-mission-hub | Local-first SAR field ops (RPi5, DJI, MQTT, Meshtastic, ATAK) | ~/shadowhound-mission-hub |
Note: Repo names on GitHub don't always match their local clone directories. Always use gh repo list <owner> to discover exact names before cloning.
Example: shadowhound-mission-hub not mission-hub; shadowhound-case-api not case-api.
All repos follow: main (prod) → dev (staging) → experimental (AI features).
Critical: The agent API endpoints (/api/v1/agent/*) are only on the experimental branch of shadowhound-case-api. They are NOT on main or dev.
mission-reunite-web (React frontend)
↓
shadowhound-case-api (FastAPI + PostgreSQL)
↓
shadowhound-platform (contracts, ADRs, roadmap)
↓
shadowhound-mission-hub (DJI field ops, RPi5 offline)
gateway — Caddy reverse proxy, TLS terminationapi — FastAPI, missions/cases/pilots/DJI Cloud APIplanner-ui — React + Vite frontenddb — PostgreSQLredis — token/resource cachecases, reports, subjects, photos, mission_seeds, moderation, insightsapp/api/v1/agent.py — Agent endpoints (experimental branch only)Base URL: https://shadowhound-case-api-experimental.up.railway.app/api/v1
Auth: X-Agent-Token header, value from MISSIONREUNITEAGENTTOKEN env var.
| Method | Path | Description |
|---|---|---|
| GET | /agent/cases | List open cases with summary (species, breed, age, report count, photo count, insights status) |
| GET | /agent/cases/{id} | Full case detail (admin-level, includes contact info) |
| GET | /agent/cases/{id}/health | Stale score (0=fresh, 1=stale), missing data flags, last sighting age |
| GET | /agent/stats | Platform-wide metrics — open cases by status, avg age, species breakdown |
| POST | /agent/cases/{id}/enrichment | Attach weather/terrain/movement data (stored as note placeholder) |
| POST | /agent/cases/{id}/notes | Add coordinator-visible agent observation |
| POST | /agent/cases/{id}/insights/regenerate | Trigger insights regeneration |
stale_score = 0: fresh sighting within case lifetimestale_score = 1: no sighting reports, or last sighting >> case ageno_photo, no_last_known_location, no_reports[] for /agent/cases — no open cases currently in experimental DB2a51ffc5-2733-48ae-8607-d7012d287f37) — closed/cleaned up, returns "not found"cases_with_insights in stats is always 0 (not yet wired up)POST /agent/enrichment stores as a note, not a dedicated table.mission_seed handoff is the key integration point, still being built.# Check auth
gh auth token # works even when gh auth status shows wrong
# Get token for subshell/GH_API calls
export GH_TOKEN=$(gh auth token)
# Clone repos (gh wired as git credential helper)
git clone https://github.com/danmartinez78/shadowhound-case-api.git
git clone https://github.com/danmartinez78/mission-reunite-web.git
git clone https://github.com/danmartinez78/shadowhound-mission-hub.git
git clone https://github.com/danmartinez78/shadowhound-platform.git
Important: gh auth status has a display bug — reports "not logged in" even when authenticated. gh auth token returning a token means you're authenticated.
Echo (this agent) is the intel layer between the case API and field coordinators: