一键导入
audit-trail
Append events to <vault>/.onyx-audit/audit.jsonl, list events, recover PID-orphaned locks. Replaces src/audit/recover.ts + src/audit/trail.ts (66 LOC).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Append events to <vault>/.onyx-audit/audit.jsonl, list events, recover PID-orphaned locks. Replaces src/audit/recover.ts + src/audit/trail.ts (66 LOC).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Thin shell wrapper over the Linear GraphQL API for use from agent directives. Reads Linear projects + issues, creates/updates issues, resolves viewers/cycles/labels/project IDs. Replaces the legacy src/linear/*.ts; orchestration logic now lives in vault directives (linear-import.md, linear-uplink.md), this skill only owns the HTTP boundary.
Multi-reference image composition via fal-ai/nano-banana/edit. Use when a directive needs to combine 2+ reference images into a single composed output (character + location, brand sigil + character, multi-character ensemble shot, etc.). Sister tool: bible-to-prompt assembles a canonical prompt from a character/location bible MD before calling nano-compose.
Fire a single openclaw notification per runtime contract (notifications). Always echoes to stdout in §15.4 format; also dispatches via openclaw CLI if OPENCLAW_NOTIFY_TARGET is set. Replaces src/notify/notify.ts (99 LOC); batching responsibility shifts to callers.
Fetch project-scoped context from Notion using the official REST API for use in <workplace>ProjectSync and other orchestrators.
Read, write, and search Obsidian vault markdown files
Spawn a Claude Code or Cursor agent in non-interactive mode (`--print` style) with a prompt + repo workspace. Replaces src/agents/{claudeCodeSpawn,cursorSpawn,spawnAgent}.ts (179 LOC).
| name | audit-trail |
| description | Append events to <vault>/.onyx-audit/audit.jsonl, list events, recover PID-orphaned locks. Replaces src/audit/recover.ts + src/audit/trail.ts (66 LOC). |
| metadata | {"clawdbot":{"emoji":"📜","requires":["bash","jq","find","awk"]}} |
Tiny audit-log skill for ONYX. Three verbs: append, list, recover.
<vault>/.onyx-audit/audit.jsonl — one JSON object per line. Required keys: ts, event, phaseNotePath. Optional: projectId, pid, detail.
audit-trail append --vault <path> --event <name> --phase <phase-path> \
[--project <id>] [--pid <int>] [--detail "<text>"]
Appends one JSON line. ts is set to current UTC YYYY-MM-DDTHH:MM:SSZ. Echoes the appended line on stdout.
audit-trail list --vault <path> [--project <id>]
Prints every event line, optionally filtered to one project. Empty file or no --project matches → empty output, exit 0.
audit-trail recover --vault <path> --projects-glob "01 - Projects/**"
Walks every phase file matching the glob that contains phase-active. For each, reads lock_pid from frontmatter. If the PID is not running (kill -0 fails):
phase-active tag → phase-ready in frontmatter tags[].locked_by, locked_at, lock_pid, lock_run_id, lock_acquired_at.status: ready, state: ready.lock_force_cleared event to the audit log.recovered: <phase> (PID <pid> gone).Reports the count: [audit-trail] cleared <N> orphaned lock(s).
execute-phase — after a transition (lock acquire, complete, block), call append so the audit trail captures every state change.heal Step 1 — call recover to pick up locks left behind by crashed agent processes.explain / next — call list to read recent activity.The original TS was thin wrapper over fs.appendFileSync and process.kill(pid, 0). Both have direct shell equivalents (>> for append, kill -0 <pid> for liveness probe). 66 LOC of TS becomes ~80 LOC of bash with no behaviour loss.
list — the file grows monotonically. Use jq -c streaming or cat/grep.kill -0 check must succeed (return 0) to skip — the recovery only triggers on kill -0 failure.