Agent skill

Remote State Machine Guardrail

by kxn in kxn/codex-remote-feishu

Audit and update this repository's canonical remote surface state machine after implementing changes to remote-surface state-machine logic carriers such as attach/detach/use/follow state predicates…

No licenceAuto-check passedAI & LLM Engineering

Install Remote State Machine Guardrail

skills CLI
$ npx skills add kxn/codex-remote-feishu --skill remote-state-machine-guardrail -a claude-code

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

GitHub CLI
$ gh skill install kxn/codex-remote-feishu remote-state-machine-guardrail --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/kxn/codex-remote-feishu.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.codex/skills/remote-state-machine-guardrail .claude/skills/remote-state-machine-guardrail && 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
remote-state-machine-guardrail
GitHub stars
329
Token cost
~1.3k tokens
SKILL.md length
636 words
Files
2
Skills in repo
9
Repo updated
First seen
Licence
None found

At a glance

Audit and update this repository's canonical remote surface state machine after implementing changes to remote-surface state-machine logic carriers such as attach/detach/use/follow state predicates…

  • Works in 5 steps: Read only the canonical document… → Read the touched code paths. → Sync only the affected current-behavior… → …
  • Tasks that involve Debugging
  • SKILL.md covers Fast Path For state-light, Workflow, Update Rules and Validation Floor, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Remote State Machine Guardrail is an agent skill from kxn/codex-remote-feishu. Audit and update this repository's canonical remote surface state machine after implementing changes to remote-surface state-machine logic carriers such as attach/detach/use/follow state predicates, routing decisions, headless lifecycle progression, queue/dispatch gating, request-capture gates, or command-availability logic. Use after implementation stabilizes and before committing. Reopen docs/general/remote-surface-state-machine.md, sync the current behavior, audit dead or half-dead user states, fix bug-grade…

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It sits in AI & LLM Engineering, covering Debugging. The repository describes itself as: Yet another codex remote in feishu.

When your agent uses it

  • Tasks that involve Debugging

Example prompts

  • “/remote-state-machine-guardrail”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Read only the canonical document section(s) that describe the touched state, command, or transition. Locate sections with headings or…
  2. Read the touched code paths.
  3. Sync only the affected current-behavior text in the canonical document.
  4. Audit the changed path for dead or half-dead states.
  5. Run focused tests for the touched path and scripts/check/pre-commit.sh.

What it can do on your machine

Read from SKILL.md and the folder at commit 4522572. 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

    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.

  • Network

    No URLs in SKILL.md.

    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

Remote State Machine Guardrail loads about 1.3k tokens when it runs. Until then it costs about 158 tokens; SKILL.md has 636 words of instructions outside code blocks.

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

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); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 636 words (~1,291 tokens).

“Treat docs/general/remote-surface-state-machine.md as the canonical reference for current remote surface behavior.”

— opening of SKILL.md by kxn
name
remote-state-machine-guardrail

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file in .codex/skills/remote-state-machine-guardrail of kxn/codex-remote-feishu.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit 4522572

Compare with similar skills

Remote State Machine Guardrail 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.

Remote State Machine Guardrail compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Remote State Machine Guardrail this skillkxn/codex-remote-feishu329—~1.3kAutomated safety check: PassNone
ExecuTorch Knowledge Basepytorch/executorch5.1k—~1.3kAutomated safety check: PassCustom licence
RAG Troubleshootlyonzin/knowledge-rag292—~1.8kAutomated safety check: PassMIT
ML Failure DebuggerLeeroo-AI/superml195—~9.5kAutomated safety check: PassApache-2.0
Debug Flydsl KernelROCm/FlyDSL290—~2.6kAutomated safety check: NotesCustom licence
Debugging Signals PipelinePostHog/posthog40k—~2.4kAutomated safety check: NotesCustom licence

Similar skills

  • ExecuTorch Knowledge Base

    pytorch/executorch

    Answers ExecuTorch questions from a local wiki on backends, export pitfalls, quantization recipes, runtime errors and SoC compatibility.

    5.1k GitHub stars~1.3k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • RAG Troubleshoot

    lyonzin/knowledge-rag

    When the user reports a bug, error message, stack trace, unexpected behavior, or "why is this broken" question, search the corpus first for prior occurrences, known fixes, or related runbooks.

    292 GitHub stars~1.8k tokensUpdated 5 days ago
    AI & LLM EngineeringAuto-check passed
  • ML Failure Debugger

    Leeroo-AI/superml

    Diagnoses failing ML and AI work, such as OOM, NaN, divergence, crashes, slow throughput, wrong outputs and dependency conflicts, with every claim backed by documentation citations.

    195 GitHub stars~9.5k tokensUpdated 6 mo ago
    AI & LLM EngineeringAuto-check passed
  • Debug FlyDSL GPU kernels that produce NaN, inf, wrong results, or crash.

    290 GitHub stars~2.6k tokensUpdated today
    AI & LLM EngineeringAuto-check: notes
  • Official

    Debug the signals pipeline locally end-to-end. An agent skill from PostHog/posthog.

    40k GitHub stars~2.4k tokensUpdated today
    AI & LLM EngineeringAuto-check: notes
  • Debug Render

    artokun/comfyui-mcp

    Debug a WRONG or imperfect render (not a hard error) by inspecting inputs and intermediate steps with run-to-node.

    800 GitHub stars~1.7k tokensUpdated 4 days ago
    AI & LLM EngineeringAuto-check passed

More from kxn/codex-remote-feishu

All 9 skills in this repo
  • Issue Workflow Guardrail

    kxn/codex-remote-feishu

    A skill your agent uses when handling a GitHub issue in this repository: raw issue shaping, implementability reassessment, fast/full classification, parent/child orchestration, execution snapshots…

    329 GitHub stars~1.3k tokensUpdated 8 days ago
    Auto-check passed
  • Local Upgrade

    kxn/codex-remote-feishu

    A skill your agent uses when the user asks for this repository's local upgrade flow: 本地升级, 拉最新代码后升级本地 daemon, upgrade-local.sh, or triggering the built-in local upgrade transaction from a repo build.

    329 GitHub stars~951 tokensUpdated 8 days ago
    Auto-check passed
  • Safe Push

    kxn/codex-remote-feishu

    A skill your agent uses when pushing committed changes from this repository, especially when git push may fail because the remote branch advanced.

    329 GitHub stars~639 tokensUpdated 8 days ago
    Auto-check passed
  • Issue Doc Sync

    kxn/codex-remote-feishu

    A skill your agent uses when syncing closed GitHub issues back into repo docs.

    329 GitHub stars~932 tokensUpdated 8 days ago
    Auto-check passed
  • Relay Stack Playbook

    kxn/codex-remote-feishu

    A skill your agent uses when working on this repository's relay stack: Codex app-server protocol translation, relayd, relay-wrapper, Feishu bot integration, VS Code remote integration, or real-stack…

    329 GitHub stars~1.3k tokensUpdated 8 days ago
    Auto-check passed
  • Build Page Mock

    kxn/codex-remote-feishu

    A skill your agent uses when creating or revising a page mock, browser-runnable prototype, or interactive demo for this repository's web, setup, onboarding, status, or admin pages, and also when…

    329 GitHub stars~1.7k tokensUpdated 8 days ago
    Auto-check passed

Questions about Remote State Machine Guardrail

What does Remote State Machine Guardrail do?

Audit and update this repository's canonical remote surface state machine after implementing changes to remote-surface state-machine logic carriers such as attach/detach/use/follow state predicates…. Remote State Machine Guardrail is an agent skill from kxn/codex-remote-feishu. Audit and update this repository's canonical remote surface state machine after implementing changes to remote-surface state-machine logic carriers such as attach/detach/use/follow state predicates, routing decisions, headless lifecycle progression, queue/dispatch gating, request-capture gates, or command-availability logic.

When should I use Remote State Machine Guardrail?

Remote State Machine Guardrail fits situations like: tasks that involve Debugging.

How do I install Remote State Machine Guardrail in Claude Code?

Run `npx skills add kxn/codex-remote-feishu --skill remote-state-machine-guardrail -a claude-code`. Or copy the skill folder (.codex/skills/remote-state-machine-guardrail in kxn/codex-remote-feishu) into .claude/skills/remote-state-machine-guardrail in your project. Claude Code loads it when a task matches its description.

How do I install Remote State Machine Guardrail in Codex?

Run `npx skills add kxn/codex-remote-feishu --skill remote-state-machine-guardrail -a codex`. Or copy the skill folder (.codex/skills/remote-state-machine-guardrail in kxn/codex-remote-feishu) into .agents/skills/remote-state-machine-guardrail in your project. Codex loads it when a task matches its description.

Can I use Remote State Machine Guardrail 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 kxn/codex-remote-feishu --skill remote-state-machine-guardrail -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/remote-state-machine-guardrail, .gemini/skills/remote-state-machine-guardrail, .github/skills/remote-state-machine-guardrail and .opencode/skills/remote-state-machine-guardrail in your project.

What does Remote State Machine Guardrail need to run?

SKILL.md names no scripts, command-line tools or credentials: Remote State Machine Guardrail is instructions for the agent only.

Does Remote State Machine Guardrail 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 Remote State Machine Guardrail 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. Review the folder before installing.

What licence does Remote State Machine Guardrail use?

No licence was found for Remote State Machine Guardrail or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Remote State Machine Guardrail use?

About 1.3k tokens (SKILL.md is roughly 5.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 Remote State Machine Guardrail?

Skills that share tags, products or a category with Remote State Machine Guardrail: ExecuTorch Knowledge Base (pytorch/executorch, 5.1k stars), RAG Troubleshoot (lyonzin/knowledge-rag, 292 stars), ML Failure Debugger (Leeroo-AI/superml, 195 stars) and Debug Flydsl Kernel (ROCm/FlyDSL, 290 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Remote State Machine Guardrail?

kxn (a GitHub user) maintains it in kxn/codex-remote-feishu, which has 329 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on October 1, 2026.

Source: kxn/codex-remote-feishu on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.