用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/raine/steer --skill steer命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | steer |
| description | Create or open an Obsidian note, attach hidden writing context, and focus the note for the user through the Steer CLI. |
Use this skill when the user wants to continue writing in Obsidian with context from the current coding or investigation session.
Never edit the plugin's data.json directly. The running plugin owns its
in-memory settings and persists context through the CLI operation.
Use the active vault instead of searching the filesystem:
vault="$(obsidian vault info=name | tail -n 1)"
If that produces no vault name, run obsidian vaults verbose. Use the only
listed vault automatically. Ask the user which vault to use only when multiple
vaults are listed and the intended one is ambiguous. Do not scan the home
directory or application bundle for the CLI or vault. Use obsidian help, not
obsidian --help, when command discovery is necessary.
Choose a vault-relative Markdown path. Create a private temporary request file containing:
{
"version": 1,
"path": "Messages/Feature announcement.md",
"content": "# Feature announcement\n\n",
"context": "The release promotes a tested immutable snapshot without rebuilding images. Publishing creates the named Helm chart, Git tag, GitHub Release, and changelog notes."
}
path is required and must end in .md.content creates the note and is optional.context becomes hidden Steer context and is optional.content or context.content. The command never overwrites a note.context clears context from an existing note.context contains reference material about the subject being written about.
Include relevant facts, decisions, rationale, implementation details,
tradeoffs, current status, unresolved questions, terminology, and useful
links.context. Exclude the requested document
type, audience, tone, style, length, structure, emphasis, ordering,
formatting, calls to action, and instructions such as what to lead with,
mention, avoid, preserve, or clarify.context.A safe shell pattern is:
request="$(mktemp)"
trap 'rm -f "$request"' EXIT
chmod 600 "$request"
cat >"$request" <<'JSON'
{
"version": 1,
"path": "Messages/Feature announcement.md",
"content": "# Feature announcement\n\n",
"context": "The feature is complete. It replaces mutable main-snapshot deployment pins with repository-owned named release pins."
}
JSON
obsidian vault="$vault" steer:handoff request="$request"
Put vault="..." before the command name. Parameters use name=value syntax.
Parse the returned JSON. Success has this shape:
{ "ok": true, "path": "Messages/Feature announcement.md", "created": true }
Treat {"ok":false,"error":"..."} as a failure and report the error. On
success, Obsidian opens the note, reveals its Steer view, and focuses the
editor.