Agent skill

Feishu UI State Machine Guardrail

by kxn in kxn/codex-remote-feishu

Audit and update this repository's canonical Feishu card UI state machine after changing Feishu card state-machine logic carriers such as callback schema/parsing, card action routing, inline replace…

No licenceAuto-check passedProductivity & Automation

Install Feishu UI State Machine Guardrail

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

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

GitHub CLI
$ gh skill install kxn/codex-remote-feishu feishu-ui-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/feishu-ui-state-machine-guardrail .claude/skills/feishu-ui-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
feishu-ui-state-machine-guardrail
GitHub stars
329
Token cost
~1.2k tokens
SKILL.md length
621 words
Files
1
Skills in repo
9
Repo updated
First seen
Licence
None found

At a glance

Audit and update this repository's canonical Feishu card UI state machine after changing Feishu card state-machine logic carriers such as callback schema/parsing, card action routing, inline replace…

  • Works in 5 steps: Read only the canonical document… → Read the touched… → Sync only the affected current-behavior… → …
  • Tasks that involve Messaging and chat bots
  • SKILL.md covers Fast Path For state-light, Workflow, Update Rules and Validation Floor, plus 1 more section
  • Calls go

What it does

Feishu UI State Machine Guardrail is an agent skill from kxn/codex-remote-feishu. Audit and update this repository's canonical Feishu card UI state machine after changing Feishu card state-machine logic carriers such as callback schema/parsing, card action routing, inline replace vs append-only decisions, lifecycle stamping, or old-card handling. Use after implementation stabilizes and before committing.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Productivity & Automation, covering Messaging and chat bots. It works with Feishu (Lark). The repository describes itself as: Yet another codex remote in feishu.

When your agent uses it

  • Tasks that involve Messaging and chat bots

Example prompts

  • “/feishu-ui-state-machine-guardrail”

Workflow steps

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

  1. Read only the canonical document section(s) for the touched card, command, or projection boundary. Locate sections with headings or exact…
  2. Read the touched projector/gateway/controller code paths.
  3. Sync only the affected current-behavior text in the canonical document.
  4. Audit for UI dead ends, stale-action leaks, and projector/gateway disagreement on any payload currently emitted.
  5. Run focused tests for the touched Feishu UI 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

    Shell commands in SKILL.md call:

    • go

    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

Feishu UI State Machine Guardrail loads about 1.2k tokens when it runs. Until then it costs about 90 tokens; SKILL.md has 621 words of instructions outside code blocks.

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

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 621 words (~1,203 tokens).

“Treat docs/general/feishu-card-ui-state-machine.md as the canonical reference for current Feishu card UI / callback-layer behavior.”

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

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .codex/skills/feishu-ui-state-machine-guardrail of kxn/codex-remote-feishu.

Open the folder on GitHubat commit 4522572

Compare with similar skills

Feishu UI 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.

Feishu UI State Machine Guardrail compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Feishu UI State Machine Guardrail this skillkxn/codex-remote-feishu329—~1.2kAutomated safety check: PassNone
Feishu Docopenclaw/openclaw392k—~516Automated safety check: PassMIT
Feishu Docraucvr/Group-Goki1123 repos~592Automated safety check: PassMIT
Feishu Driveraucvr/Group-Goki1123 repos~587Automated safety check: PassMIT
Feishu Permraucvr/Group-Goki1123 repos~630Automated safety check: PassMIT
Feishu Safety GuideSafeAI-Lab-X/ClawKeeper1k—~3.6kAutomated safety check: PassNone

Similar skills

  • Feishu Doc

    openclaw/openclaw

    Feishu document read/write workflows. An agent skill from openclaw/openclaw.

    392k GitHub stars~516 tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Feishu Doc

    raucvr/Group-Goki

    Feishu document read/write operations. An agent skill from raucvr/Group-Goki.

    112 GitHub starsUsed in 3 repos~592 tokens
    Productivity & AutomationAuto-check passed
  • Feishu Drive

    raucvr/Group-Goki

    Feishu cloud storage file management. An agent skill from raucvr/Group-Goki.

    112 GitHub starsUsed in 3 repos~587 tokens
    Productivity & AutomationAuto-check passed
  • Feishu Perm

    raucvr/Group-Goki

    Feishu permission management for documents and files. An agent skill from raucvr/Group-Goki.

    112 GitHub starsUsed in 3 repos~630 tokens
    Productivity & AutomationAuto-check passed
  • Feishu Safety Guide

    SafeAI-Lab-X/ClawKeeper

    One-click deployment Skill for Feishu security governance and message anti-data-leakage guide, responsible for Feishu message security, credential protection, permission auditing, interaction…

    1k GitHub stars~3.6k tokensUpdated 1 mo ago
    Productivity & AutomationAuto-check passed
  • Tlive

    y49/tlive

    tlive — remote approvals (Telegram/Feishu/web), live web terminal, and session monitoring for Claude Code / Codex.

    215 GitHub stars~1.7k tokensUpdated 1 mo ago
    Productivity & AutomationAuto-check: notes

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 10 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 10 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 10 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 10 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 10 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 10 days ago
    Auto-check passed

Works with

Questions about Feishu UI State Machine Guardrail

What does Feishu UI State Machine Guardrail do?

Audit and update this repository's canonical Feishu card UI state machine after changing Feishu card state-machine logic carriers such as callback schema/parsing, card action routing, inline replace…. Feishu UI State Machine Guardrail is an agent skill from kxn/codex-remote-feishu. Audit and update this repository's canonical Feishu card UI state machine after changing Feishu card state-machine logic carriers such as callback schema/parsing, card action routing, inline replace vs append-only decisions, lifecycle stamping, or old-card handling.

When should I use Feishu UI State Machine Guardrail?

Feishu UI State Machine Guardrail fits situations like: tasks that involve Messaging and chat bots.

How do I install Feishu UI State Machine Guardrail in Claude Code?

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

How do I install Feishu UI State Machine Guardrail in Codex?

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

Can I use Feishu UI 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 feishu-ui-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/feishu-ui-state-machine-guardrail, .gemini/skills/feishu-ui-state-machine-guardrail, .github/skills/feishu-ui-state-machine-guardrail and .opencode/skills/feishu-ui-state-machine-guardrail in your project.

What does Feishu UI State Machine Guardrail need to run?

Going by SKILL.md and its folder, Feishu UI State Machine Guardrail needs the command-line tools its instructions call (go).

Does Feishu UI 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 Feishu UI 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 Feishu UI State Machine Guardrail use?

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

How many tokens does Feishu UI State Machine Guardrail use?

About 1.2k tokens (SKILL.md is roughly 4.8k 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 Feishu UI State Machine Guardrail?

Skills that share tags, products or a category with Feishu UI State Machine Guardrail: Feishu Doc (openclaw/openclaw, 392k stars), Feishu Doc (raucvr/Group-Goki, 112 stars), Feishu Drive (raucvr/Group-Goki, 112 stars) and Feishu Perm (raucvr/Group-Goki, 112 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Feishu UI 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.