spellcaster-cli
4
总安装量
4
周安装量
#50287
全站排名
安装命令
npx skills add https://github.com/makinahq/makina-agents --skill spellcaster-cli
Agent 安装分布
opencode
4
gemini-cli
4
github-copilot
4
codex
4
kimi-cli
4
cursor
4
Skill 文档
Spellcaster CLI
Overview
Use this skill to produce correct, executable spellcaster commands for operators using the installed CLI binary. Keep responses operational: verify prerequisites, provide exact commands, and map common errors to concrete fixes.
Workflow
- Confirm binary and config availability.
- Run
spellcaster --versionto verify the binary is installed. - Assume config path precedence:
--config <path>if provided.$XDG_CONFIG_HOME/spellcaster/config.tomlwhenXDG_CONFIG_HOMEis set.- Otherwise
~/.config/spellcaster/config.toml.
- If config is missing and the workspace includes
example.config.toml, provide a copy command and call out the minimum sections needed ([machines],[rpc_urls],[signer]).
- Prefer non-interactive mode.
- In non-interactive mode, require:
--machine <NAME>for all commands.--caliber <CHAIN>for all commands exceptfull-aum-update-cycle.
- Build commands in the canonical order.
- Put global flags before the subcommand:
spellcaster [--config ...] [--dev] [--unsigned] [--safe ...] --machine ... --caliber ... <command> [command flags]
- Prefer exact token values supplied by the user (addresses, amounts, chain names).
- If required values are missing, ask only for missing fields and keep placeholders minimal.
- Handle signing and environment safely.
- Respect signer configuration in
config.toml. - Use
--unsignedwhen the user explicitly wants unsigned/dev execution. - Use
--devonly when targeting Tenderly virtual testnets and ensuredev_rpc_urlsare configured. - Never echo secret values (private keys, API keys, tokens) in output.
- Troubleshoot with direct fixes.
- If error says
must specify machine..., add--machine <NAME>. - If error says
must specify caliber..., add--caliber <CHAIN>unless command isfull-aum-update-cycle. - If error says
please set [dev_rpc_urls]..., add[dev_rpc_urls]entries in config or remove--dev. - If machine resolution fails, check
[machines]mapping andgithub_tokenaccess for private repos.
Response Template
Use this concise structure unless the user requests something else:
Preflight: installed binary + config path assumptions.Command: one or more ready-to-run commands in fencedbash.Why: one sentence explaining key flags.If It Fails: 1-3 targeted troubleshooting checks.
Command Discovery
When users ask what is available, use help output first:
spellcaster --helpspellcaster <subcommand> --help
Do not guess unsupported flags when help output can resolve uncertainty.
References
Load references/command-snippets.md for concrete examples and error-to-fix mappings.