Agent skill

Release Guard

by yannikzz in yannikzz/narracat-novel-agent

View or change NarraCat-app's internal-test release gate / remote kill switch (the release-guard Cloudflare Worker in workers/release-guard).

AGPL-3.0Auto-check passedWriting & Content

Install Release Guard

skills CLI
$ npx skills add yannikzz/narracat-novel-agent --skill release-guard -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install yannikzz/narracat-novel-agent release-guard --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/yannikzz/narracat-novel-agent.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/release-guard .claude/skills/release-guard && rm -rf skills-src

Use ~/.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/

Facts

Skill name
release-guard
GitHub stars
105
Token cost
~495 tokens
SKILL.md length
101 words
Files
2 (incl. scripts)
Skills in repo
7
Repo updated
First seen
Licence
AGPL-3.0

At a glance

View or change NarraCat-app's internal-test release gate / remote kill switch (the release-guard Cloudflare Worker in workers/release-guard).

  • Works in 2 steps: 查看状态(默认动作) → 调整配置
  • The user wants to check the gates current status (is it blocking users right now?)
  • SKILL.md covers 1. 查看状态(默认动作), 2. 调整配置, 安全须知 and 完成判据
  • Runs JavaScript scripts from its folder; calls node, bunx and wrangler

What it does

Release Guard is an agent skill from yannikzz/narracat-novel-agent. View or change NarraCat-app's internal-test release gate / remote kill switch (the release-guard Cloudflare Worker in workers/release-guard). Use when the user wants to check the gate's current status (is it blocking users right now?), set or clear the internal-test deadline, trigger or release the emergency brake (kill switch), raise the minimum allowed version, or edit the block-screen notice. 触发词:内测开关 / 急刹车 / 看后台配置 / 改截止日 / 下线版本 / 释放门控 / release guard.

Its SKILL.md is about 500 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts.

It sits in Writing & Content. It works with Cloudflare Workers. The repository describes itself as: 面向中国网文作者的 AI 共创桌面应用 | AI-powered desktop writing studio for Chinese web novels. The licence is AGPL-3.0.

When your agent uses it

  • The user wants to check the gates current status (is it blocking users right now?)
  • Clear the internal-test deadline
  • Release the emergency brake (kill switch)
  • Raise the minimum allowed version

Example prompts

  • “/release-guard”

Requirements

  • Node.js

Workflow steps

2 steps, taken from the step headings in SKILL.md.

  1. 查看状态(默认动作)
  2. 调整配置

What it can do on your machine

Read from SKILL.md and the folder at commit 2c49f9f. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Ships 1 file in scripts/ (JavaScript), which the agent can run.

    Shell commands in SKILL.md call:

    • node
    • bunx
    • wrangler

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use bunx and wrangler, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Release Guard loads about 495 tokens when it runs. Until then it costs about 118 tokens; SKILL.md has 101 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~118
When it runs · the whole SKILL.md, loaded when a task matches
~495

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.

Safety

Auto-check passed

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); the scripts in this folder are not scanned.

SKILL.md

The full file from yannikzz/narracat-novel-agent at commit 2c49f9f, republished under its AGPL-3.0 licence (© yannikzz). 101 words, ~495 tokens.

Download SKILL.mdSave it as .claude/skills/release-guard/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
release-guard
description
View or change NarraCat-app's internal-test release gate / remote kill switch (the release-guard Cloudflare Worker in workers/release-guard). Use when the user wants to check the gate's current status (is it blocking users right now?), set or clear the internal-test deadline, trigger or release the emergency brake (kill switch), raise the minimum allowed version, or edit the block-screen notice. 触发词:内测开关 / 急刹车 / 看后台配置 / 改截止日 / 下线版本 / 释放门控 / release guard.

内测释放门控(release-guard)

控制内测包的「软过期 + 远程急刹车」。一个已部署的 Cloudflare Worker 返回一段 JSON,App 启动时拉取后决定要不要把用户挡在外面。改这个 Worker、不动 App、不发新包,约 10s 全员生效。

  • 线上配置真相:Worker(workers/release-guard/src/index.ts 是它的源码)
  • App 调用地址:写在 electron/main/release-guard-runtime.ts 的 RELEASE_GUARD_URL
  • 纯判定逻辑:electron/main/release-guard.ts(单测 release-guard.test.ts)

1. 查看状态(默认动作)

先跑状态脚本,把结果原样转述给用户(它会显示线上当前配置、现在拦不拦人、以及本地有没有改了没部署):

bash
node .claude/skills/release-guard/scripts/status.mjs

脚本自定位仓库根,任意 cwd 可跑、只读不改。读完用一两句话总结「现在是放行还是拦人、有没有截止日」。

2. 调整配置

只改 workers/release-guard/src/index.ts 里的 RELEASE_GATE 这一个对象,然后部署、再复验。

想干嘛改 RELEASE_GATE效果
定内测截止日deadline: "2026-09-30T00:00:00Z"(ISO 8601,建议带 Z/时区)过期后所有版本启动被拦
取消截止日deadline: ""不再按日期拦
🚨 紧急下线坏版本kill: true立即拦所有版本
解除急刹车kill: false恢复(再按 deadline/minVersion 判)
逼旧版升级minVersion: "0.1.320"(semver)低于此版本被拦
改拦截页文案notice: "……"用户看到的提示语

部署(已 wrangler login 过;若 token 过期会提示重登):

bash
cd workers/release-guard && bunx wrangler deploy

部署后必须复验:再跑一次第 1 步的 status 脚本,确认线上确实变了、判定符合预期。改完务必把 RELEASE_GATE 和线上对上(status 脚本会报「改了没部署」的漂移)。

安全须知

  • kill: true 或过期的 deadline 会拦所有装了内测包的用户,最坏 ~60s 缓存后全员生效——确认是想要的再部署。
  • App 端拉取失败时 fail-open(放行),不因断网误伤正常用户;唯一断网也拦的是 App 构建期烤死的「构建后 90 天」硬过期,那条与本 Worker 无关、改不了(要改得重新打包)。
  • 这是公开只读端点,不收/不存任何用户数据,不带密钥。

完成判据

调整类操作,在说"已生效"前必须:部署成功 + status 脚本复验线上配置已更新 + 解读判定正确。仅查看则无需部署。

© yannikzz, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (scripts) in .claude/skills/release-guard of yannikzz/narracat-novel-agent.

  • SKILL.md
  • scripts/status.mjs

Open the folder on GitHubat commit 2c49f9f

Compare with similar skills

Release Guard 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.

Release Guard compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Release Guard this skillyannikzz/narracat-novel-agent105—~495Automated safety check: PassAGPL-3.0
Codflow Updatebighadj22/codflow354—~6.2kAutomated safety check: NotesApache-2.0
Socialcoreyhaines31/marketingskills54k4 repos~4.5kAutomated safety check: PassMIT
HumanizerAzure-Samples/interview-coach-agent-framework17338 repos~5.8kAutomated safety check: PassMIT
Avoid AI Writingconorbronsdon/avoid-ai-writing4.9k3 repos~8.1kAutomated safety check: PassMIT
JavaScript Concept Fact Checkerleonardomso/33-js-concepts67k1 repos~5kAutomated safety check: PassMIT

Similar skills

  • Codflow Update

    bighadj22/codflow

    Update runbook for a self-hosted CodFlow install — an AI agent following it fetches the latest code from the CodFlow GitHub repo, merges it into an EXISTING checkout, syncs the gitignored…

    354 GitHub stars~6.2k tokensUpdated 4 days ago
    DevOps & CloudAuto-check: notes
  • Social

    coreyhaines31/marketingskills

    When the user wants help creating, scheduling, or optimizing social media content for LinkedIn, Twitter/X, Instagram, TikTok, or Facebook, or wants to do social listening and engagement triage.

    54k GitHub starsUsed in 4 repos~4.5k tokens
    Writing & ContentAuto-check passed
  • Humanizer

    Azure-Samples/interview-coach-agent-framework

    Official

    Remove signs of AI-generated writing from text. An agent skill from Azure-Samples/interview-coach-agent-framework.

    173 GitHub starsUsed in 38 repos~5.8k tokens
    Writing & ContentAuto-check passed
  • Avoid AI Writing

    conorbronsdon/avoid-ai-writing

    Audit and rewrite content to remove AI writing patterns ("AI-isms").

    4.9k GitHub starsUsed in 3 repos~8.1k tokens
    Writing & ContentAuto-check passed
  • JavaScript Concept Fact Checker

    leonardomso/33-js-concepts

    Verifies the technical accuracy of JavaScript concept pages by checking code examples, MDN and ECMAScript claims and external links through a five-phase method.

    67k GitHub starsUsed in 1 repo~5k tokens
    Writing & ContentAuto-check passed
  • User-Facing Text Cleanup

    guillaumemeyer/watermarks-remover

    Audits prose for invisible Unicode characters and rewrites it while keeping facts, citations, code and required disclosures unchanged and the writer's voice intact.

    24k GitHub stars~3.5k tokensUpdated yesterday
    Writing & ContentAuto-check passed

More from yannikzz/narracat-novel-agent

  • Release App

    yannikzz/narracat-novel-agent

    Cut and publish a new NarraCat-app version — bump the version number, build the Windows x64 package in CI, package + sign + notarize the macOS build locally, and publish both platforms into one…

    105 GitHub stars~1.6k tokensUpdated 3 days ago
    Auto-check: notes
  • Novel Structure

    yannikzz/narracat-novel-agent

    Narrative structure knowledge for long-form web fiction, covering emotional stakes, tension rhythm, climax layering, foreshadowing payoff pacing, value shifts and event architecture, multi-thread…

    105 GitHub stars~1.7k tokensUpdated 3 days ago
    Auto-check passed
  • Novel Reference Analysis Method

    yannikzz/narracat-novel-agent

    A reference work analysis method providing text decomposition and five-dimension extraction framework (premise / world / characters / structure / style, with narrator voice sub-framework under…

    105 GitHub stars~1.1k tokensUpdated 3 days ago
    Auto-check passed
  • Novel Web Craft

    yannikzz/narracat-novel-agent

    Web-fiction craft material library consumed by the /write brief compressor — retention mechanics (hooks, pacing, conflict clarity, dialogue load, payoff delivery, chapter-end pull) kept as…

    105 GitHub stars~695 tokensUpdated 3 days ago
    Auto-check passed
  • Novel Memory Integration

    yannikzz/narracat-novel-agent

    Guide for answering natural language questions about novel content by querying NovelMemory MCP read tools from the main conversation.

    105 GitHub stars~392 tokensUpdated 3 days ago
    Auto-check passed
  • Novel Style Reference

    yannikzz/narracat-novel-agent

    A real-novel writing style reference library backed by the novelquerystylereference MCP tool.

    105 GitHub stars~391 tokensUpdated 3 days ago
    Auto-check passed

Questions about Release Guard

What does Release Guard do?

View or change NarraCat-app's internal-test release gate / remote kill switch (the release-guard Cloudflare Worker in workers/release-guard). Release Guard is an agent skill from yannikzz/narracat-novel-agent. View or change NarraCat-app's internal-test release gate / remote kill switch (the release-guard Cloudflare Worker in workers/release-guard).

When should I use Release Guard?

Release Guard fits situations like: the user wants to check the gates current status (is it blocking users right now?); clear the internal-test deadline; release the emergency brake (kill switch); raise the minimum allowed version.

How do I install Release Guard in Claude Code?

Run `npx skills add yannikzz/narracat-novel-agent --skill release-guard -a claude-code`. Or copy the skill folder (.claude/skills/release-guard in yannikzz/narracat-novel-agent) into .claude/skills/release-guard in your project. Claude Code loads it when a task matches its description.

How do I install Release Guard in Codex?

Run `npx skills add yannikzz/narracat-novel-agent --skill release-guard -a codex`. Or copy the skill folder (.claude/skills/release-guard in yannikzz/narracat-novel-agent) into .agents/skills/release-guard in your project. Codex loads it when a task matches its description.

Can I use Release Guard in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add yannikzz/narracat-novel-agent --skill release-guard -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/release-guard, .gemini/skills/release-guard, .github/skills/release-guard and .opencode/skills/release-guard in your project.

What does Release Guard need to run?

Going by SKILL.md and its folder, Release Guard needs JavaScript for the scripts in its folder and the command-line tools its instructions call (node, bunx and wrangler). Our summary lists: Node.js.

Does Release Guard access the network?

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.

Is Release Guard safe to install?

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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Release Guard use?

Release Guard is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Release Guard use?

About 495 tokens (SKILL.md is roughly 2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Release Guard?

Skills that share tags, products or a category with Release Guard: Codflow Update (bighadj22/codflow, 354 stars), Social (coreyhaines31/marketingskills, 54k stars), Humanizer (Azure-Samples/interview-coach-agent-framework, 173 stars) and Avoid AI Writing (conorbronsdon/avoid-ai-writing, 4.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Release Guard?

yannikzz (a GitHub user) maintains it in yannikzz/narracat-novel-agent, which has 105 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 7, 2026.

Source: yannikzz/narracat-novel-agent on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.