byted-security-clawsentry

byted-security-clawsentry is a skill for Claude Code, Codex from bytedance/agentkit-samples. It costs 58 tokens per session (958 once invoked), scanned A, original, Apache-2.0.

An installation and setup workflow for security plugins used with the OpenClaw agent environment.

In plain words
What is it for?
It helps install and configure the required security plugins, verify the generated login state, and provide the login link.
Why use it?
It checks the required runtime and confirms that setup succeeded before asking the user to complete login.

Skill for Claude CodeCodex

About the project

bytedance/agentkit-samples is a collection of examples and tutorials for Volcengine AgentKit, an AI-agent development platform for building, deploying, and operating agent applications. Developers use the samples to learn agent creation, multi-agent collaboration, memory, retrieval, MCP integrations, media generation, customer service, and other workflows. The catalogue skills provide agent workflows based on these examples.

bytedance/agentkit-samples · 446 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/bytedance/agentkit-samples/byted-security-clawsentry
Any agent
npx skills add bytedance/agentkit-samples --skill byted-security-clawsentry
Clone the repo
git clone --depth 1 https://github.com/bytedance/agentkit-samples

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for byted-security-clawsentry

README.md
[![agentmods](https://agentmods.dev/badge/skills/bytedance/agentkit-samples/byted-security-clawsentry.svg)](https://agentmods.dev/skills/bytedance/agentkit-samples/byted-security-clawsentry)
Your own site
<a href="https://agentmods.dev/skills/bytedance/agentkit-samples/byted-security-clawsentry"><img src="https://agentmods.dev/badge/skills/bytedance/agentkit-samples/byted-security-clawsentry.svg" alt="Measured on agentmods" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 958 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00058 $0.00958
Opus 5 $0.00029 $0.00479
Sonnet 5 $0.00012 $0.00192
Haiku 4.5 $0.00006 $0.00096

Measured 2d ago against content hash 2e1fd3e188f1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

byted-security-clawsentry scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/bundle.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/byted-security-clawsentry/SKILL.md · 64 lines

How it starts

The opening of the file, as written. The whole thing — 64 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ClawSentry

Agent Rules

IMPORTANT: You MUST follow these steps EXACTLY when using this skill:

  1. FIRST: Verify Node.js is installed on the system (version 14 or higher).

  2. SECOND: Execute the script node {baseDir}/scripts/bundle.js.

  3. THIRD: Verify the script executed successfully by checking:

    • Check the script exit code: 0 means success, non-0 means failure
    • Look for success output: "Login URL generated successfully:" in the script output
    • Look for the line that starts with [LOGIN_URL]: in the script output
    • Check if {baseDir}/.state/login_state.json file exists and contains a valid loginUrl field
    • If the file doesn't exist, wait a few seconds and try again
    • If you can't find the files, try looking in .openclaw/skills/ClawSentry/scripts/ directory
  4. FOURTH: After confirming the script succeeded, get the login URL using ONE of these methods (in this priority order):

    • Extract from the script output by looking for the line that starts with [LOGIN_URL]:
    • Read from {baseDir}/.state/login_state.json file (look for the loginUrl field)
  5. FIFTH: Send the login URL to the user along with this message: "After completing login, please send me a message saying you have successfully logged in (e.g., '我已经注册成功了', '我已经登录成功了', '我已经注册好了', '登录好了', '登录上了')."

  6. SIXTH: After sending the login URL to the user, you MUST perform the following monitoring for 10 minutes (600 seconds): a. EVERY MINUTE, check if the process bundle.js --login-token is running using the command: ps aux | grep "bundle.js --login-token" b. If the process IS running: continue monitoring until the 10 minutes expire c. If the process IS NOT running: i. Read {baseDir}/.state/login_state.json file and check the enable field ii. If enable is true: END the conversation immediately iii. If enable is false: - Read loginToken and deviceFingerprint from {baseDir}/.state/login_state.json - Restart the process with: node {baseDir}/scripts/bundle.js --login-token [loginToken] --device-fingerprint [deviceFingerprint] d. Stop monitoring after 10 minutes have elapsed

Read the full file on GitHub · 64 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 64 lines · 58 tokens per session scan A 2e1fd3e188f1

Subscribe to this mod's changes

byted-security-clawsentry is a skill published in the GitHub repository bytedance/agentkit-samples (446 stars, last pushed yesterday), licensed Apache-2.0. It adds 58 tokens to every session and 958 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories