Agent Runtime Lifecycle Hooks
lobehub/lobehub
Registers lifecycle hooks on an agent run to observe, mock or intervene at each step, dispatching them in the order they were registered.
短视频钩子(开头)类型选择与写法,中文名「钩子」。Use when 起钩子、写钩子、钩子怎么写、钩子没思路、设计前5秒钩子、写视频开头/口播稿开头, or when the user asks 视频开头怎么做、开头模板、hook 类型、帮我起个钩子, including during ra-洗稿 script rewriting and 选题深化.
$ npx skills add Pluviobyte/rnskill --skill ra-hook -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Pluviobyte/rnskill ra-hook --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/Pluviobyte/rnskill.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/ra-hook .claude/skills/ra-hook && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "ra-hook" agent skill from https://github.com/Pluviobyte/rnskill/tree/main/skills/ra-hook into .claude/skills/ra-hook/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ra-hook", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/Pluviobyte/rnskill/tree/main/skills/ra-hookType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add Pluviobyte/rnskill --skill ra-hook -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Pluviobyte/rnskill ra-hook --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Pluviobyte/rnskill.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/ra-hook .agents/skills/ra-hook && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "ra-hook" agent skill from https://github.com/Pluviobyte/rnskill/tree/main/skills/ra-hook into .agents/skills/ra-hook/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ra-hook", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Pluviobyte/rnskill --skill ra-hook -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Pluviobyte/rnskill ra-hook --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Pluviobyte/rnskill.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/ra-hook .cursor/skills/ra-hook && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "ra-hook" agent skill from https://github.com/Pluviobyte/rnskill/tree/main/skills/ra-hook into .cursor/skills/ra-hook/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ra-hook", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/Pluviobyte/rnskill.git --path skills/ra-hook--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add Pluviobyte/rnskill --skill ra-hook -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Pluviobyte/rnskill ra-hook --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Pluviobyte/rnskill.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/ra-hook .gemini/skills/ra-hook && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "ra-hook" agent skill from https://github.com/Pluviobyte/rnskill/tree/main/skills/ra-hook into .gemini/skills/ra-hook/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ra-hook", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Pluviobyte/rnskill ra-hookInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Pluviobyte/rnskill --skill ra-hook -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Pluviobyte/rnskill.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/ra-hook .github/skills/ra-hook && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "ra-hook" agent skill from https://github.com/Pluviobyte/rnskill/tree/main/skills/ra-hook into .github/skills/ra-hook/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ra-hook", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Pluviobyte/rnskill --skill ra-hook -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Pluviobyte/rnskill ra-hook --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Pluviobyte/rnskill.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/ra-hook .opencode/skills/ra-hook && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "ra-hook" agent skill from https://github.com/Pluviobyte/rnskill/tree/main/skills/ra-hook into .opencode/skills/ra-hook/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ra-hook", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
ra-hook短视频钩子(开头)类型选择与写法,中文名「钩子」。Use when 起钩子、写钩子、钩子怎么写、钩子没思路、设计前5秒钩子、写视频开头/口播稿开头, or when the user asks 视频开头怎么做、开头模板、hook 类型、帮我起个钩子, including during ra-洗稿 script rewriting and 选题深化.
Ra Hook is an agent skill from Pluviobyte/rnskill. 短视频钩子(开头)类型选择与写法,中文名「钩子」。Use when 起钩子、写钩子、钩子怎么写、钩子没思路、设计前5秒钩子、写视频开头/口播稿开头, or when the user asks 视频开头怎么做、开头模板、hook 类型、帮我起个钩子, including during ra-洗稿 script rewriting and 选题深化. Provides a scenario-based taxonomy of 7 hook types with decision flow, prerequisites, sentence templates, and common mistakes. For diagnosing and optimizing an existing hook draft, use dbs-hook instead; this skill chooses the type, dbs-hook polishes the execution.
Its SKILL.md is about 730 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).
The repository describes itself as: 雪踏乌云的 AI Agent Skills 集合.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 83d1783. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Ra Hook loads about 729 tokens when it runs. Until then it costs about 112 tokens; SKILL.md has 180 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 180 words (~729 tokens).
“Given a video topic or script, pick the right hook type by scenario, then draft the first 1-3 sentences using that type's template. This skill answers "用哪种钩子"; dbs-hook answers "这个钩子好不好"。两者配合:先用本 skill 定型,再用 dbs-hook 诊断打磨。”
SKILL.md and 1 other file in skills/ra-hook of Pluviobyte/rnskill.
Open the folder on GitHubat commit 83d1783
Ra Hook next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Ra Hook this skillPluviobyte/rnskill | 1.6k | — | ~729 | Automated safety check: Pass | Custom licence | |
| Agent Runtime Lifecycle Hookslobehub/lobehub | 83k | — | ~2.8k | Automated safety check: Pass | Custom licence | |
| Agentmemory Capture Hooksrohitg00/agentmemory | 29k | — | ~444 | Automated safety check: Pass | Apache-2.0 | |
| Crush Hook Writercharmbracelet/crush | 29k | — | ~1.8k | Automated safety check: Pass | Custom licence | |
| Hook Development for Claude Code Pluginsanthropics/claude-plugins-official | 38k | 10 repos | ~4.1k | Automated safety check: Notes | Apache-2.0 | |
| Hooksparcadei/Continuous-Claude-v3 | 3.9k | 1 repos | ~344 | Automated safety check: Pass | MIT |
lobehub/lobehub
Registers lifecycle hooks on an agent run to observe, mock or intervene at each step, dispatching them in the order they were registered.
rohitg00/agentmemory
Describes the lifecycle hooks in the agentmemory Claude Code plugin that record observations automatically, and what to check when observations go missing.
charmbracelet/crush
Helps write, debug and configure Crush hooks in crush.json that block, approve or rewrite tool calls before they run.
anthropics/claude-plugins-official
Explains how to write Claude Code plugin hooks, both prompt-based checks and bash commands, for events such as PreToolUse, Stop and SessionStart.
parcadei/Continuous-Claude-v3
Hook Development Rules
supabase/supabase
Correct React Hook Form usage anywhere in the monorepo — data flow, subscriptions, reset, dirty state, number inputs, and controlled-input rules.
Pluviobyte/rnskill
Analyzes a reference video's layout, motion and timing over a chosen time range, then builds an original animated replica with new copy and assets plus a final video QC.
Pluviobyte/rnskill
Restyles photos, film stills or new scene descriptions in the rough low-budget 3D look observed in the 2026 animated film Niulai, with an iterative scoring loop.
Pluviobyte/rnskill
Renders, previews, validates and burns in production subtitles from QC-passed caption timing, with fixed dark or light caption styles scaled to the video size.
Pluviobyte/rnskill
Creates Chinese social-media video covers in 3:4 and 4:3 from registered styles and shared presenter assets, or swaps the person in a reference cover for a digital-human frame.
Pluviobyte/rnskill
Generates a HeyGen digital-human video layer using a fixed avatar profile, local narration and an approved circular avatar placement.
Pluviobyte/rnskill
Generates SRT, VTT and caption JSON for final narration audio or a merged video using Volcengine Doubao ASR word timestamps, with a quality gate before delivery.
短视频钩子(开头)类型选择与写法,中文名「钩子」。Use when 起钩子、写钩子、钩子怎么写、钩子没思路、设计前5秒钩子、写视频开头/口播稿开头, or when the user asks 视频开头怎么做、开头模板、hook 类型、帮我起个钩子, including during ra-洗稿 script rewriting and 选题深化. Ra Hook is an agent skill from Pluviobyte/rnskill. 短视频钩子(开头)类型选择与写法,中文名「钩子」。Use when 起钩子、写钩子、钩子怎么写、钩子没思路、设计前5秒钩子、写视频开头/口播稿开头, or when the user asks 视频开头怎么做、开头模板、hook 类型、帮我起个钩子, including during ra-洗稿 script rewriting and 选题深化.
Ra Hook fits situations like: 起钩子、写钩子、钩子怎么写、钩子没思路、设计前5秒钩子、写视频开头/口播稿开头; the user asks 视频开头怎么做、开头模板、hook 类型、帮我起个钩子; including during ra-洗稿 script rewriting and 选题深化.
Run `npx skills add Pluviobyte/rnskill --skill ra-hook -a claude-code`. Or copy the skill folder (skills/ra-hook in Pluviobyte/rnskill) into .claude/skills/ra-hook in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Pluviobyte/rnskill --skill ra-hook -a codex`. Or copy the skill folder (skills/ra-hook in Pluviobyte/rnskill) into .agents/skills/ra-hook in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Pluviobyte/rnskill --skill ra-hook -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ra-hook, .gemini/skills/ra-hook, .github/skills/ra-hook and .opencode/skills/ra-hook in your project.
SKILL.md names no scripts, command-line tools or credentials: Ra Hook is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Ra Hook has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.
About 729 tokens (SKILL.md is roughly 2.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Ra Hook: Agent Runtime Lifecycle Hooks (lobehub/lobehub, 83k stars), Agentmemory Capture Hooks (rohitg00/agentmemory, 29k stars), Crush Hook Writer (charmbracelet/crush, 29k stars) and Hook Development for Claude Code Plugins (anthropics/claude-plugins-official, 38k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Pluviobyte (a GitHub user) maintains it in Pluviobyte/rnskill, which has 1,638 GitHub stars. The repository holds 45 skills in this directory. The repository was last updated on September 21, 2026.
Source: Pluviobyte/rnskill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.