nextclaw-http-agent-runtime-integration

nextclaw-http-agent-runtime-integration is a skill for Claude Code, Codex from Peiiii/nextclaw. It costs 41 tokens per session (1,735 once invoked), scanned A, original, MIT.

A guide for connecting an outside AI agent service to NextClaw over HTTP, including setup, sessions, readiness, streaming, and adapter behavior.

In plain words
What is it for?
Use it when making an HTTP-based agent such as Hermes appear as a selectable NextClaw session, or when diagnosing connection, visibility, readiness, streaming, or response errors.
Why use it?
It helps developers connect or debug an external agent without adding service-specific code to NextClaw's core.

Skill for Claude CodeCodex

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/peiiii/nextclaw/nextclaw-http-agent-runtime-integration
Any agent
npx skills add Peiiii/nextclaw --skill nextclaw-http-agent-runtime-integration
Clone the repo
git clone --depth 1 https://github.com/Peiiii/nextclaw

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 nextclaw-http-agent-runtime-integration

README.md
[![agentmods](https://agentmods.dev/badge/skills/peiiii/nextclaw/nextclaw-http-agent-runtime-integration.svg)](https://agentmods.dev/skills/peiiii/nextclaw/nextclaw-http-agent-runtime-integration)
Your own site
<a href="https://agentmods.dev/skills/peiiii/nextclaw/nextclaw-http-agent-runtime-integration"><img src="https://agentmods.dev/badge/skills/peiiii/nextclaw/nextclaw-http-agent-runtime-integration.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,735 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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 $0.00041 $0.01735
Opus 5 $0.00020 $0.00868
Sonnet 5 $0.00008 $0.00347
Haiku 4.5 $0.00004 $0.00173

Measured 4d ago against content hash 6d9763a92404, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

nextclaw-http-agent-runtime-integration scanned grade A with 1 finding 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 4d ago.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- run a direct `curl` against `/health`
.agents/skills/nextclaw-http-agent-runtime-integration/SKILL.md · 219 lines

How it starts

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

Integrating HTTP Agent Runtime

Overview

Use this skill to connect an external agent runtime into NextClaw through the generic narp-http path.

Default architecture:

  • Keep NextClaw core generic.
  • Reuse the existing builtin narp-http runtime provider and HTTP client.
  • Treat Hermes or any other backend as an external runtime behind an HTTP adapter.
  • End with a real selectable session type in NextClaw, not just a design note.

Read these first when the task is non-trivial:

  • docs/VISION.md
  • docs/plans/2026-04-15-http-backed-agent-runtime-design.md
  • docs/logs/v0.16.28-http-backed-agent-runtime-mvp/README.md

When To Use

Use this skill when any of these are true:

  • The user wants Hermes to appear as a NextClaw session type.
  • The user wants to connect an external agent runtime by HTTP address.
  • The user wants “just configure it” runtime onboarding instead of hard-coding a new runtime.
  • The user wants the AI to debug why an HTTP runtime is not ready, not visible, not streaming, or returning errors.

Do not use this skill for:

  • MCP server integration
  • ordinary tool/plugin integration that does not create an agent runtime
  • adding a brand-new non-HTTP runtime family

Core Rule

Prefer this split unless the user explicitly asks for something else:

  • NextClaw owns the generic narp-http provider and session-type experience.
  • The external runtime owns its private protocol.
  • An adapter server translates the private protocol into the shared HTTP/SSE contract.

Do not create a Hermes-specific runtime kind if narp-http can solve it.

First Decision

Classify the task into exactly one path:

Path A: Existing HTTP runtime is already ready

Choose this when the target already exposes the expected endpoints:

  • POST /send
  • GET /stream?sessionId=...
  • POST /abort
  • optional GET /health

In this path, the AI should mostly do configuration and verification.

Path B: Adapter server is still required

Choose this when the target runtime only exposes:

Read the full file on GitHub · 219 lines

Files

What ships with it

1 file 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. 4d ago First seen · 219 lines · 41 tokens per session scan A 6d9763a92404

Subscribe to this mod's changes

nextclaw-http-agent-runtime-integration is a skill published in the GitHub repository Peiiii/nextclaw (253 stars, last pushed today), licensed MIT. It adds 41 tokens to every session and 1,735 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

ha-skill-creator

Create, edit, improve, or audit Hope Agent skills. Use when the user wants to: (1) create a new skill from scratch, (2) edit or improve an existing skill, (3) review or clean up a SKILL.md file, (4) run evaluations to test skill effectiveness, (5) optimize skill descriptions for better trigger accuracy. Trigger…

shiwenwen/hope-agent · 106 tokens

ha-browser

Hope Agent browser automation — the standard status → tabs → snapshot → act loop, stale-ref recovery rules, and what to do when login / 2FA / captcha / camera-prompt / dialog blocks progress. Load this skill whenever you reach for the browser tool. Trigger on: user asks the agent to open / control / click / scrape /…

shiwenwen/hope-agent · 140 tokens

ha-logs

Self-service diagnostics — query Hope Agent's local SQLite databases (logs / sessions / background jobs) directly via the exec tool to investigate problems, analyze usage, and locate root causes. Trigger on: user reports something broken / failing / slow / stuck / not responding ('X 不工作', 'X 报错', 'X 卡住', '为什么 X 失败'…

shiwenwen/hope-agent · 183 tokens

ha-pet-import

Safely import, select, switch, or enable a compatible desktop pet in Hope Agent. Resolve packages from any origin, including local folders, zip archives, pet.json plus a sprite, PNG/WebP atlases, chat attachments, repository or cloud files, direct HTTPS artifact URLs, and download pages. Use whenever a user asks to…

shiwenwen/hope-agent · 109 tokens

china-translate

中英互译 + 本地化 - 技术翻译、UI本地化、文化适配、避免机翻腔.

dongsheng123132/u-claw · 32 tokens

email-draft

Use when the user asks to draft, polish, translate, or reply to an email. Produces a clean draft with subject line, greeting, body, and sign-off, plus a pre-send self-check.

shiwenwen/hope-agent · 46 tokens