用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/terrylica/cc-skills --skill setup命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
user wants to create a macOS Calendar event with sound alarms and paired Reminders, schedule a meeting, RSVP to an invitation, or set reminders.
Park a draft message/text in macOS Notes for the operator to review and edit, then read it back before acting (e.g. before sending to a real person). Notes is the source of truth (AppleScript CRUD, iCloud-synced, provenance-stamped with the Claude Code session UUID); Stickies is a best-effort view-only desktop mirror. Use whenever you draft something a human should confirm/edit before it is sent or committed — messages, replies, announcements, anything outbound. TRIGGERS - park this draft, park the message, hold this draft, let me edit first, draft for my approval, save to notes for review, read back the draft.
Programmatic Firecrawl usage via the public API, academic paper routing, recursive deep research, and raw corpus persistence.
基于 SOC 职业分类
正在显示 SKILL.md
| name | setup |
| description | Check and install dependencies for itp-hooks (silent failure detection + fake-data-guard). |
| allowed-tools | Read, Bash, TodoWrite, TodoRead, AskUserQuestion |
| argument-hint | [--install|--check] |
| model | haiku |
| disable-model-invocation | false |
Prerequisite —
cc-plugin-root. This skill resolves its scripts withcc-plugin-root <plugin>(theCLAUDE_PLUGIN_ROOTplaceholder is not a shell variable and expands to empty). If the command is missing, run/itp:setup(its first step installs it), or link it directly:mkdir -p ~/.local/bin && ln -sfn \ ~/.claude/plugins/marketplaces/cc-skills/scripts/cc-plugin-root ~/.local/bin/cc-plugin-root
Verify and install dependencies for the itp-hooks plugin:
Self-Evolving Skill: This skill improves through use. If instructions are wrong, parameters drifted, or a workaround was needed — fix this file immediately, don't defer. Only update for real, reproducible issues.
Run dependency check:
/usr/bin/env bash << 'SETUP_EOF'
PLUGIN_DIR="$(cc-plugin-root itp-hooks)"
bash "$PLUGIN_DIR/scripts/install-dependencies.sh" --check
SETUP_EOF
/usr/bin/env bash << 'CHECK_EOF'
PLUGIN_DIR="$(cc-plugin-root itp-hooks)"
bash "$PLUGIN_DIR/scripts/install-dependencies.sh" --check
CHECK_EOF
After running the check, present the findings to the user:
| Tool | Status | Purpose |
|---|---|---|
| jq | ? | Required for hook I/O |
| bun/node | ? | Required for fake-data-guard |
| ruff | ? | Python silent failure rules |
| shellcheck | ? | Shell script analysis |
| oxlint | ? | JavaScript/TypeScript linting |
If optional linters are missing, use AskUserQuestion:
question: "Install optional linters for full silent failure detection coverage?"
header: "Linters"
options:
- label: "Install all"
description: "Install ruff, shellcheck, and oxlint for Python, Shell, and JS/TS coverage"
- label: "Skip"
description: "Continue with graceful degradation (detection only for installed linters)"
/usr/bin/env bash << 'INSTALL_EOF'
PLUGIN_DIR="$(cc-plugin-root itp-hooks)"
bash "$PLUGIN_DIR/scripts/install-dependencies.sh" --install
INSTALL_EOF
| Flag | Behavior |
|---|---|
| (none) | Check dependencies, show status |
--check | Same as default |
--install | Check then install all missing tools |
The hooks work with graceful degradation:
| Tool Missing | Effect |
|---|---|
| bun/node | Fake-data-guard hook fails |
| ruff | Python files skip silent failure check |
| shellcheck | Shell scripts skip analysis |
| oxlint | JS/TS files skip linting |
| jq | All hooks fail (required for JSON I/O) |
After setup, install the hooks to your settings:
/itp:tether install
IMPORTANT: Restart Claude Code session for hooks to take effect.
| Issue | Cause | Solution |
|---|---|---|
| jq not found | jq not installed | brew install jq |
| bun/node not found | Runtime not installed | mise install bun |
| mise not installed | Missing tool manager | Install from https://mise.jdx.dev |
| ruff version error | Outdated ruff | brew upgrade ruff |
| Plugin dir not found | Plugin not installed | Re-install plugin via marketplace |
| PATH issues | Shims not in PATH | Add mise shims to ~/.zshenv |
After this skill completes, reflect before closing the task:
Do NOT defer. The next invocation inherits whatever you leave behind.