Agent skill

Xrk Agent Runtime

by xrkseek in xrkseek/XRK-AGT

当你需要理解 XRK-AGT 的运行时核心(AgentRuntime 主类)、事件总线、HTTP/WS 启动流程与全局对象时使用。

MITAuto-check passed

Install Xrk Agent Runtime

skills CLI
$ npx skills add xrkseek/XRK-AGT --skill xrk-agent-runtime -a claude-code

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

GitHub CLI
$ gh skill install xrkseek/XRK-AGT xrk-agent-runtime --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/xrkseek/XRK-AGT.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.cursor/skills/xrk-agent-runtime .claude/skills/xrk-agent-runtime && 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
xrk-agent-runtime
GitHub stars
138
Token cost
~299 tokens
SKILL.md length
50 words
Files
1
Skills in repo
12
Repo updated
First seen
Licence
MIT

At a glance

当你需要理解 XRK-AGT 的运行时核心(AgentRuntime 主类)、事件总线、HTTP/WS 启动流程与全局对象时使用。

  • SKILL.md covers 文档与代码, 关键职责, 全局写法(业务 core/) and 其它
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Xrk Agent Runtime is an agent skill from xrkseek/XRK-AGT. 当你需要理解 XRK-AGT 的运行时核心(AgentRuntime 主类)、事件总线、HTTP/WS 启动流程与全局对象时使用。

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

The repository describes itself as: 这是基于多语言所搭建的基于web,工作流,新型算法组件的智能体. The licence is MIT.

Example prompts

  • “/xrk-agent-runtime”

What it can do on your machine

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

Xrk Agent Runtime loads about 299 tokens when it runs. Until then it costs about 21 tokens; SKILL.md has 50 words of instructions outside code blocks.

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

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

The full file from xrkseek/XRK-AGT at commit 63f004e, republished under its MIT licence (© xrkseek). 50 words, ~299 tokens.

Download SKILL.mdSave it as .claude/skills/xrk-agent-runtime/SKILL.md (or your agent's skills folder).
name
xrk-agent-runtime
description
当你需要理解 XRK-AGT 的运行时核心(AgentRuntime 主类)、事件总线、HTTP/WS 启动流程与全局对象时使用。

文档与代码

  • 文档:docs/agent-runtime.md、docs/runtime-surface.md、docs/server.md
  • 代码:src/agent-runtime.js、src/utils/runtime-globals.js

关键职责

  • 启动 HTTP/HTTPS/WebSocket 服务器,以及基础中间件(压缩、安全头、CORS、日志、基础认证等)。
  • 初始化加载器:TaskerLoader / HttpApiLoader / AiWorkflowLoader / PluginLoader。
  • 维护运行时 AgentRuntime(Proxy):AgentRuntime[self_id]、AgentRuntime.tasker / AgentRuntime.wsf / AgentRuntime.uin / AgentRuntime.em() / AgentRuntime.makeLog()。

全局写法(业务 core/)

  • 裸名 AgentRuntime,勿 import AgentRuntime、new AgentRuntime()、勿 global.AgentRuntime。
  • HTTP handler:req.agentRuntime 或第三参 AgentRuntime。
  • 挂载仅在 src/:setRuntimeGlobal('AgentRuntime', runtime)(start.js、tasker/loader.js)。
  • 详见 docs/runtime-surface.md、.cursor/rules/xrk-dev-requirements.mdc。

其它

  • 事件总线:em('{tasker}.{post_type}', data);级联只剥点号父级(onebot.message→onebot)。插件过滤见 #utils/event-keys.js,文档 docs/事件系统标准化文档.md · skill xrk-tasker。
  • callRoute / 公网探测:全局 fetch + AbortSignal.timeout(见 src/agent-runtime.js)。
  • Node 26 约定:skill xrk-node-runtime。

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

Files

Just SKILL.md in .cursor/skills/xrk-agent-runtime of xrkseek/XRK-AGT.

Open the folder on GitHubat commit 63f004e

Compare with similar skills

Xrk Agent Runtime 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.

Xrk Agent Runtime compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Xrk Agent Runtime this skillxrkseek/XRK-AGT138—~299Automated safety check: PassMIT
HTTP To Httpsthedaviddias/Front-End-Checklist74k—~512Automated safety check: PassMIT
HTTP Requeststhedaviddias/Front-End-Checklist74k—~415Automated safety check: PassMIT
Hunt HTTP Smugglingsickn33/agentic-awesome-skills47k1 repos~2.2kAutomated safety check: PassMIT
Exploiting HTTP Request Smugglingmukul975/Anthropic-Cybersecurity-Skills34k—~2.8kAutomated safety check: PassApache-2.0
HTTP MCP Headersgithub/gh-aw5.4k—~1.2kAutomated safety check: PassMIT

Similar skills

  • HTTP To Https

    thedaviddias/Front-End-Checklist

    A skill your agent uses when checking whether a web server is configured to redirect all HTTP traffic to HTTPS.

    74k GitHub stars~512 tokensUpdated 4 days ago
    Auto-check passed
  • HTTP Requests

    thedaviddias/Front-End-Checklist

    A skill your agent uses when auditing slow page loads, heavy assets, or rendering delays related to Minimize HTTP requests.

    74k GitHub stars~415 tokensUpdated 4 days ago
    Frontend & DesignAuto-check passed
  • Hunt HTTP Smuggling

    sickn33/agentic-awesome-skills

    Hunt HTTP request smuggling (CL.TE, TE.CL, H2.CL, H2.TE). An agent skill from sickn33/agentic-awesome-skills.

    47k GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check passed
  • Exploiting HTTP Request Smuggling

    mukul975/Anthropic-Cybersecurity-Skills

    Detects and exploits HTTP request smuggling caused by Content-Length/Transfer-Encoding parsing discrepancies between front-end and back-end servers, using Burp Suite Repeater (auto Content-Length…

    34k GitHub stars~2.8k tokensUpdated 1 mo ago
    DevOps & CloudAuto-check passed
  • HTTP MCP Headers

    github/gh-aw

    Official

    Implement secret-safe HTTP headers for MCP transport in gh-aw.

    5.4k GitHub stars~1.2k tokensUpdated today
    Testing & QAAuto-check passed
  • HTTP Endpoints

    hashgraph-online/awesome-codex-plugins

    A skill your agent uses when building an HTTP val — a web endpoint, API route, webhook receiver, or any val that responds to HTTP requests.

    1.3k GitHub stars~834 tokensUpdated today
    Backend & APIsAuto-check passed

More from xrkseek/XRK-AGT

All 12 skills in this repo
  • Immersive Short Video

    xrkseek/XRK-AGT

    Produce immersive vertical short videos (口播/科普/产品讲解) without AI-slop aesthetics.

    138 GitHub stars~1k tokensUpdated 9 days ago
    Auto-check passed
  • Xrk Crawl

    xrkseek/XRK-AGT

    当你需要开发/排查 HTTP 抓取、SSRF、Playwright 受控浏览器、本地字体增强截图,或判断 webfetch 与 browser 工作流如何选型时使用。

    138 GitHub stars~1.3k tokensUpdated 9 days ago
    Auto-check passed
  • Xrk HTTP API

    xrkseek/XRK-AGT

    当你需要开发或排查 HTTP API(core//http/.js)、理解 HttpApi 基类、HttpApiLoader、业务层约定时使用。

    138 GitHub stars~569 tokensUpdated 9 days ago
    Auto-check passed
  • Xrk Node Runtime

    xrkseek/XRK-AGT

    编写或审查 core/src 代码时,确保使用 Node 26 稳定 API,禁止旧写法(fetch/exec/错误/二进制)。AI 改 Core 前必读。

    138 GitHub stars~907 tokensUpdated 9 days ago
    Auto-check passed
  • Xrk GitHub Research

    xrkseek/XRK-AGT

    在 GitHub 搜索成熟开源实现、对比方案、读 issue/PR 时使用。架构选型、unfamiliar 领域、找业界最佳实践时主动调用。

    138 GitHub stars~202 tokensUpdated 9 days ago
    Auto-check passed
  • Xrk LLM

    xrkseek/XRK-AGT

    当你需要配置/新增/排查 LLM 提供商(OpenAI/Azure/Gemini/Anthropic/Ollama/各类兼容网关)时使用;确保 YAML/Schema/代码一致。

    138 GitHub stars~304 tokensUpdated 9 days ago
    Auto-check passed

Questions about Xrk Agent Runtime

What does Xrk Agent Runtime do?

当你需要理解 XRK-AGT 的运行时核心(AgentRuntime 主类)、事件总线、HTTP/WS 启动流程与全局对象时使用。. Xrk Agent Runtime is an agent skill from xrkseek/XRK-AGT.

How do I install Xrk Agent Runtime in Claude Code?

Run `npx skills add xrkseek/XRK-AGT --skill xrk-agent-runtime -a claude-code`. Or copy the skill folder (.cursor/skills/xrk-agent-runtime in xrkseek/XRK-AGT) into .claude/skills/xrk-agent-runtime in your project. Claude Code loads it when a task matches its description.

How do I install Xrk Agent Runtime in Codex?

Run `npx skills add xrkseek/XRK-AGT --skill xrk-agent-runtime -a codex`. Or copy the skill folder (.cursor/skills/xrk-agent-runtime in xrkseek/XRK-AGT) into .agents/skills/xrk-agent-runtime in your project. Codex loads it when a task matches its description.

Can I use Xrk Agent Runtime 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 xrkseek/XRK-AGT --skill xrk-agent-runtime -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/xrk-agent-runtime, .gemini/skills/xrk-agent-runtime, .github/skills/xrk-agent-runtime and .opencode/skills/xrk-agent-runtime in your project.

What does Xrk Agent Runtime need to run?

SKILL.md names no scripts, command-line tools or credentials: Xrk Agent Runtime is instructions for the agent only.

Does Xrk Agent Runtime 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 Xrk Agent Runtime 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 Xrk Agent Runtime use?

Xrk Agent Runtime is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Xrk Agent Runtime use?

About 299 tokens (SKILL.md is roughly 1.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 Xrk Agent Runtime?

Skills that share tags, products or a category with Xrk Agent Runtime: HTTP To Https (thedaviddias/Front-End-Checklist, 74k stars), HTTP Requests (thedaviddias/Front-End-Checklist, 74k stars), Hunt HTTP Smuggling (sickn33/agentic-awesome-skills, 47k stars) and Exploiting HTTP Request Smuggling (mukul975/Anthropic-Cybersecurity-Skills, 34k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Xrk Agent Runtime?

xrkseek (a GitHub user) maintains it in xrkseek/XRK-AGT, which has 138 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 1, 2026.

Source: xrkseek/XRK-AGT on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.