Embedded Debugger
Adancurusul/embedded-debugger-mcp
Embedded hardware debugging workflow for probe-rs targets using embedded-debugger-mcp.
Run, test, and debug the photofield server locally. An agent skill from SmilyOrg/photofield.
$ npx skills add SmilyOrg/photofield --skill local-dev -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install SmilyOrg/photofield local-dev --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/SmilyOrg/photofield.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/local-dev .claude/skills/local-dev && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "local-dev" agent skill from https://github.com/SmilyOrg/photofield/tree/main/.agents/skills/local-dev into .claude/skills/local-dev/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "local-dev", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/SmilyOrg/photofield/tree/main/.agents/skills/local-devType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add SmilyOrg/photofield --skill local-dev -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install SmilyOrg/photofield local-dev --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/SmilyOrg/photofield.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/local-dev .agents/skills/local-dev && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "local-dev" agent skill from https://github.com/SmilyOrg/photofield/tree/main/.agents/skills/local-dev into .agents/skills/local-dev/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "local-dev", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add SmilyOrg/photofield --skill local-dev -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install SmilyOrg/photofield local-dev --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/SmilyOrg/photofield.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/local-dev .cursor/skills/local-dev && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "local-dev" agent skill from https://github.com/SmilyOrg/photofield/tree/main/.agents/skills/local-dev into .cursor/skills/local-dev/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "local-dev", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/SmilyOrg/photofield.git --path .agents/skills/local-dev--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add SmilyOrg/photofield --skill local-dev -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install SmilyOrg/photofield local-dev --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/SmilyOrg/photofield.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/local-dev .gemini/skills/local-dev && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "local-dev" agent skill from https://github.com/SmilyOrg/photofield/tree/main/.agents/skills/local-dev into .gemini/skills/local-dev/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "local-dev", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install SmilyOrg/photofield local-devInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add SmilyOrg/photofield --skill local-dev -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/SmilyOrg/photofield.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/local-dev .github/skills/local-dev && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "local-dev" agent skill from https://github.com/SmilyOrg/photofield/tree/main/.agents/skills/local-dev into .github/skills/local-dev/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "local-dev", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add SmilyOrg/photofield --skill local-dev -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install SmilyOrg/photofield local-dev --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/SmilyOrg/photofield.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/local-dev .opencode/skills/local-dev && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "local-dev" agent skill from https://github.com/SmilyOrg/photofield/tree/main/.agents/skills/local-dev into .opencode/skills/local-dev/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "local-dev", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
local-devRun, test, and debug the photofield server locally. An agent skill from SmilyOrg/photofield.
Local Dev is an agent skill from SmilyOrg/photofield. Run, test, and debug the photofield server locally. Use when building, running, or testing the server, making API calls, calling MCP tools, or inspecting runtime state. Covers server lifecycle via ./tools/agent.sh server, generic HTTP calls via ./tools/agent.sh api, MCP tool calls, database inspection, error debugging, and common fixes.
Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Agent Workflows, covering MCP servers and Debugging. It works with Vue.js, Go and Model Context Protocol. The repository describes itself as: A self-hosted non-invasive single-binary photo gallery with a focus on speed and simplicity. The licence is MIT.
8 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit ea0c7c9. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
sqlite3gojqFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Local Dev loads about 2.4k tokens when it runs. Until then it costs about 88 tokens; SKILL.md has 800 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from SmilyOrg/photofield at commit ea0c7c9, republished under its MIT licence (© SmilyOrg). 800 words, ~2,439 tokens.
.claude/skills/local-dev/SKILL.md (or your agent's skills folder).This skill covers building, running, testing, and debugging the photofield server on your local machine.
All tool invocation, server management, and API calls go through
./tools/agent.sh — a unified harness that handles the server lifecycle,
generic HTTP calls, and MCP tool invocation with session management, SSE
parsing, and named-arg parsing.
The harness accepts --verbose, -v, and -V. Any of these can be placed
directly after ./tools/agent.sh:
./tools/agent.sh --verbose mcp call get_photo --file_id 1
./tools/agent.sh -v mcp call get_photo --file_id 1
./tools/agent.sh -V mcp call get_photo --file_id 1Or avoid the flag entirely via environment variable:
AGT_VERBOSE=1 ./tools/agent.sh mcp call get_photo --file_id 1go build -o photofield .Kill any old instance before rebuilding:
./tools/agent.sh server killThe server reads data/configuration.yaml. Without it, collections point to
empty directories.
Minimal setup:
mkdir -p data
cat > data/configuration.yaml <<EOF
collections:
- name: test
dirs:
- docs/assets
EOFUse ./tools/agent.sh server <command> to manage the server process:
# Start (auto-detects if already running)
./tools/agent.sh server start
# Stop gracefully (uses PID file)
./tools/agent.sh server stop
# Restart
./tools/agent.sh server restart
# Check status (shows PID and port listeners)
./tools/agent.sh server status
# Aggressive kill (PID file + all port listeners including exiftool)
./tools/agent.sh server killHow it works: server start launches the binary with nohup and writes a
PID file to data/agent.pid. It then polls the server endpoint until
ready (up to 30s). server stop reads the PID file and sends SIGTERM.
server kill sends SIGKILL to the PID and anything else listening on the port.
Important: The server does not auto-scan. After starting, run a scan:
./photofield -scan test
# or from another directory:
AGT_BIN=/path/to/photofield ./tools/agent.sh server start && ./photofield -scan testThe server listens on port 8080 by default (override with AGT_PORT).
Note: With AGT_START=true (the default), mcp call, mcp quick, and
mcp shell will auto-start the server if it is not already running. The
server start, server stop, server restart, server status, and
server kill commands manage the process regardless of AGT_START.
If the server crashes without a clean shutdown, the PID file may become stale.
The harness auto-detects this: server start will clean up a dead PID file
and launch a new instance. server status also removes stale entries.
Use ./tools/agent.sh mcp to call MCP tools. The harness handles the session
handshake (initialize + initialized notification), session ID extraction from
response headers, SSE response parsing, and named-arg to JSON conversion.
# Call a tool with JSON args
./tools/agent.sh mcp call list_collections '{}'
# Call with named args (auto-detects --key val pairs)
./tools/agent.sh mcp call search_photos --query 'beach' --collection_id 'test' --limit 3
# Verbose mode — shows full raw JSON response
./tools/agent.sh --verbose mcp call get_photo --file_id 1 --w 200
# Smoke test (calls list_collections by default)
./tools/agent.sh mcp quick
# Smoke test with a specific tool
./tools/agent.sh mcp quick get_photo --file_id 1
# Interactive REPL
./tools/agent.sh mcp shell| Mode | Syntax |
|---|---|
| JSON | ./tools/agent.sh mcp call <tool> '<json>' |
| Named | ./tools/agent.sh mcp call <tool> --key val |
Named args are auto-converted to JSON: numbers stay numeric, true/false
become booleans, null stays null, everything else is quoted as strings.
agent.sh auto-detects the named-arg mode when the first token starts with
--, so no explicit -- -- boundary is ever needed.
Non-verbose mode shows a clean summary:
✓ list_collections — 22 items
✓ events — 19 events
✓ get_photoErrors show with a red ✗ and the error message. Set --verbose (see Verbose Flag above) for full raw JSON on every call.
Output streams: The log_* helpers (ℹ, ▶) go to stderr. Tool result
summaries (✓, ✗) and raw JSON output go to stdout. This lets you pipe tool
results: ./tools/agent.sh mcp call list_collections '{}' | jq '.collections'.
AGT_BIN=/path/to/photofield ./tools/agent.sh mcp call list_collections '{}'
AGT_URL=http://remote-host:9000/mcp ./tools/agent.sh mcp call list_collections '{}'Use ./tools/agent.sh api for arbitrary HTTP calls to any server endpoint. This is
useful for testing non-MCP routes, debugging, or calling endpoints that don't
have a dedicated tool.
# GET request (health check)
./tools/agent.sh api GET http://localhost:8080/health
# POST with JSON body
./tools/agent.sh api POST http://localhost:8080/api/collections \
'{"name":"my-collection","dirs":["/path/to/photos"]}'
# POST with named args (auto-constructs JSON body)
./tools/agent.sh api POST http://localhost:8080/api/collections \
--name my-collection --dirs /path/to/photos
# PUT / DELETE
./tools/agent.sh api DELETE http://localhost:8080/api/collections/testThe output shows the HTTP status code, pretty-printed JSON when possible, and
the response body (truncated if over 500 chars). Note: AGT_VERBOSE=1 does
not currently change the truncation behavior for API calls.
The server exposes a health check endpoint at /health:
./tools/agent.sh api GET http://localhost:8080/healthReturns {"status": "ok"} when healthy.
# Basic call
./tools/agent.sh mcp call get_photo --file_id 1
# Metadata-only call
./tools/agent.sh mcp call get_photo_metadata --file_id 1
# Error handling
./tools/agent.sh mcp call get_photo --file_id 999999
# Verbose debugging
./tools/agent.sh --verbose mcp call search_photos --query 'test' --collection_id 'test'# Check health
./tools/agent.sh api GET http://localhost:8080/health
# List collections via API (alternative to mcp call)
./tools/agent.sh api GET http://localhost:8080/api/collectionsThe harness captures the server's entire stdout and stderr to
data/agent.log via nohup. Panics and errors appear in this log:
tail -100 data/agent.logIf the server does not return a Mcp-Session-Id header, the harness continues
without one (some MCP servers don't require it). You will see a benign info
message: No session ID (server may not require one).
| Symptom | Cause | Fix |
|---|---|---|
cannot create context from nil parent | Nil context passed to WithTimeout | Add if ctx == nil { ctx = context.Background() } in handler |
file not found: N | Photo ID doesn't exist | Scan collection or check DB |
| Empty response data | Rendering panic | Check server log |
| Schema says all fields required | SDK infers from Go struct pointers | Use explicit InputSchema in tool registration |
| Server not responding | Old binary running | ./tools/agent.sh server kill then rebuild |
| No photos found | Config points to empty dirs | Create data/configuration.yaml |
sqlite3 data/photofield.cache.db "SELECT id, width, height FROM infos ORDER BY id;"
sqlite3 data/photofield.cache.db ".tables"# List collections
./tools/agent.sh mcp call list_collections '{}'
# Check events for a collection
./tools/agent.sh mcp call events --collection_id 'test'
# Search photos
./tools/agent.sh mcp call search_photos --query 'faces' --collection_id 'test' --limit 5| Variable | Default | Purpose |
|---|---|---|
AGT_PORT | 8080 | Server port |
AGT_BIN | ./photofield | Path to binary |
AGT_DATA_DIR | ./data | Data directory |
AGT_START | true | Auto-start server if not running |
AGT_URL | (derived) | Full MCP endpoint URL |
AGT_API_BASE | http://localhost:$PORT | Base URL for API calls |
AGT_VERBOSE | 0 | Verbose output |
| Command | Purpose |
|---|---|
go build -o photofield . | Build the server |
./photofield -scan <name> | Scan a collection |
./tools/agent.sh server start | Start the server |
./tools/agent.sh server stop | Stop the server |
./tools/agent.sh server restart | Restart the server |
./tools/agent.sh server status | Show PID/port status |
./tools/agent.sh server kill | Kill server processes |
./tools/agent.sh mcp call <tool> <args> | Call an MCP tool |
./tools/agent.sh mcp quick [tool] | Smoke test |
./tools/agent.sh mcp shell | Interactive REPL |
./tools/agent.sh api <method> <url> [body] | Generic HTTP call |
./tools/agent.sh --verbose <cmd> | Verbose output (see Verbose Flag above for -v/-V/env var) |
sqlite3 data/photofield.cache.db ... | Inspect the database |
© SmilyOrg, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/local-dev of SmilyOrg/photofield.
Open the folder on GitHubat commit ea0c7c9
Local Dev next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Local Dev this skillSmilyOrg/photofield | 608 | — | ~2.4k | Automated safety check: Pass | MIT | |
| Embedded DebuggerAdancurusul/embedded-debugger-mcp | 199 | — | ~1.4k | Automated safety check: Pass | MIT | |
| Domscribepatchorbit/domscribe | 193 | — | ~3.3k | Automated safety check: Notes | MIT | |
| Memorywhalewuisabel-gif/MemWhale | 151 | — | ~765 | Automated safety check: Pass | MIT | |
| Helmor Debug Operatedohooo/helmor | 1.3k | — | ~6.6k | Automated safety check: Pass | Apache-2.0 | |
| MCP Inspectoradeze/raindrop-mcp | 188 | — | ~421 | Automated safety check: Pass | MIT |
Adancurusul/embedded-debugger-mcp
Embedded hardware debugging workflow for probe-rs targets using embedded-debugger-mcp.
patchorbit/domscribe
Work with Domscribe — the pixel-to-code bridge. An agent skill from patchorbit/domscribe.
wuisabel-gif/MemWhale
Query and write durable debugging memory recorded by MemoryWhale.
dohooo/helmor
Operate, reproduce, and debug a running local Helmor desktop development build through the Tauri MCP bridge.
adeze/raindrop-mcp
MCP Protocol Inspection and Debugging with Inspector CLI. An agent skill from adeze/raindrop-mcp.
stacklok/toolhive-studio
Spin up and interact with ToolHive Studio's containerized dev environment (Xvfb + noVNC + DinD).
SmilyOrg/photofield
Follow the Photofield release process: batch changelog entries, create the release commit and tag, and push.
SmilyOrg/photofield
Check and apply security updates across the photofield project (api/Go, ui/npm, docs/npm, e2e/npm).
Works with
Categories
Run, test, and debug the photofield server locally. An agent skill from SmilyOrg/photofield. Local Dev is an agent skill from SmilyOrg/photofield. Run, test, and debug the photofield server locally.
Local Dev fits situations like: testing the server; making API calls; calling MCP tools; inspecting runtime state.
Run `npx skills add SmilyOrg/photofield --skill local-dev -a claude-code`. Or copy the skill folder (.agents/skills/local-dev in SmilyOrg/photofield) into .claude/skills/local-dev in your project. Claude Code loads it when a task matches its description.
Run `npx skills add SmilyOrg/photofield --skill local-dev -a codex`. Or copy the skill folder (.agents/skills/local-dev in SmilyOrg/photofield) into .agents/skills/local-dev in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add SmilyOrg/photofield --skill local-dev -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/local-dev, .gemini/skills/local-dev, .github/skills/local-dev and .opencode/skills/local-dev in your project.
Going by SKILL.md and its folder, Local Dev needs the command-line tools its instructions call (sqlite3, go and jq).
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Local Dev is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.4k tokens (SKILL.md is roughly 9.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Local Dev: Embedded Debugger (Adancurusul/embedded-debugger-mcp, 199 stars), Domscribe (patchorbit/domscribe, 193 stars), Memorywhale (wuisabel-gif/MemWhale, 151 stars) and Helmor Debug Operate (dohooo/helmor, 1.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
SmilyOrg (a GitHub user) maintains it in SmilyOrg/photofield, which has 608 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on August 17, 2026.
Source: SmilyOrg/photofield on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.