Skip to content
Agentmart
Submit a tool

setup

Check that all media-management paths (Downloads, Apple Music, NAS archive, rekordbox-mcp) are resolvable via env var or config.json, and help the user fix…

Skill by eyelock

IndexedMIT★ 2
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/eyelock-setup

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Check that all media-management paths (Downloads, Apple Music, NAS archive, rekordbox-mcp) are resolvable via env var or config.json, and help the user fix any that are missing. Use when paths seem not configured, when a skill fails to resolve a path, when explicitly asked to set up/configure the plugin, or when asked where its config lives or how path resolution works. Not for checking whether a drive, NAS or folder is online or reachable.

Use cases: agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 26, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Shell scripts

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/setup

Tools it pre-approves 3

From allowed-tools in SKILL.md: the agent may use these without asking you each time.

  • Bash
  • Read
  • Write

What's inside

Skill name
setup
Description
Check that all media-management paths (Downloads, Apple Music, NAS archive, rekordbox-mcp) are resolvable via env var or config.json, and help the user fix any that are missing. Use when paths seem not configured, when a skill fails to resolve a path, when explicitly asked to set up/configure the plugin, or when asked where its config lives or how path resolution works. Not for checking whether a drive, NAS or folder is online or reachable.
License
MIT
Allowed tools
Bash, Read, Write
Instructions
93 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts
  • Pre-approves any shell command
  • Instructions read files in your home folder (~/.ssh, ~/.aws…)

Files (4)

  • SKILL.md
  • eval_queries.json · evals/
  • evals.json · evals/
  • check-config.sh · scripts/

SKILL.md (first lines)

## Setup

Scripts are in `scripts/` relative to this skill directory.

## Step 1: Check current configuration

Run:
```bash
bash scripts/check-config.sh
```

This returns JSON with `config_path`, `config_exists`, `items` (one entry per key,
each with its `env_var`, whether it's `required`, the resolved `value`, and
`source`: `env`, `config`, or `missing`), and `missing_required` (keys with no
value from either source).

## Step 2: If nothing is missing

If `missing_required` is empty, report a status table and stop. The Source column
must say exactly where the value came from, not just `env` or `config`:

- If `source` is `env`, show the actual env var name, e.g. `env: MEDIA_MGMT_DOWNLOADS`.
- If `source` is `config`, show the config file path, e.g. `config: ~/.config/media-management/config.json`.

| Key | Value | Source |
|-----|-------|--------|
| downloads | ~/Downloads | env: MEDIA_MGMT_DOWNLOADS |
| library_import | ... | config: ~/.config/media-management/config.json |

Mention the optional keys in passing, without treating a missing one as a
problem:

- `rekordbox_mcp_path`: only needed for the `rekordbox-database` MCP tools.
- `cd_read_offset`: the optical drive's read offset in samples, for `rip-cd`'s
  AccurateRip check (e.g. `6` for a TSSTcorp SE-506). Without it a rip is
  still secure but will not match AccurateRip. `rip-cd` says when to set it.
- `work_dir`: where temporary work (rips, encodes, plans) goes. Unset means
  `$TMPDIR/media-management`; never suggest Downloads or the home folder.

## Step 3: If required keys are missing

Present the missing keys to the user, one at a time, asking for the absolute path
for each:

- `downloads` — where their purchased ZIPs land (e.g. `~/Downloads`)
- `library_import` — the Apple Music auto-import folder. If the user isn't sure,
  suggest they run:
  ```bash
  find ~ -name "Automatically Add to Music.localized" -type d 2>/dev/null
  ```
- `library_storage` — the Apple Music library location (e.g. `~/Music`)
- `archive_workdir` — the NAS/archive staging directory

Expand `~` to the user's home directory before saving. Confirm each value back to
the user before moving to the next.

## Step 4: Write config.json

Once all missing required values are collected, merge them into the existing
config (if `config_exists` was true, read it first and preserve any keys not
being updated) and write the result to `config_path` (creating the parent
directory if needed) using the Write tool. Use this shape:

```json
{
  "downloads": "...",
  "library_import": "...",
  "library_storage": "...",
  "archive_workdir": "...",
  "processed": "...",
  "rekordbox_mcp_path": "...",
  "cd_read_offset": 6,
  "work_dir": "..."
}
```

Omit keys the user didn't provide and that weren't already present.

## Step 5: Mention the environment variable alternative

Let the user know they can skip config.json entirely by exporting the
corresponding `MEDIA_MGMT_*` env var (see `env_var` in the Step 1 output) in
their shell profile instead — env vars always take priority over config.json.

**Special case — `rekordbox_mcp_path`:** this one is read directly by
`.mcp.json` when Claude Code launches the `rekordbox-database` MCP server, and
`.mcp.json` can only substitute environment variables, not `config.json`
values. Writing it to `config.json` is still useful for bookkeeping, but if the
user wants the rekordbox tools to actually work, they must also
`export MEDIA_MGMT_REKORDBOX_MCP_PATH=...` in their shell profile and restart
their terminal / Claude Code session.

From eyelock/assistants, MIT.

More from eyelock/assistants

Signals

Stars
2
Forks
0
Open issues
0
Last commit (this folder)
Oct 19, 2026 (9 days ago)
Last release
Aug 25, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from eyelock

Cite this page

setup skill. Agent Mart. https://agentmart.dev/skills/eyelock-setup (last updated 2026-10-24)