knowledge-interaction-surfaces

knowledge-interaction-surfaces is a skill for Claude Code, Codex from echoVic/blade-code. It costs 167 tokens per session (2,170 once invoked), scanned A, a copy of knowledge-extension-ecosystem-hooks-and-behavior-interception, MIT.

A guide to the CLI, terminal interface, web app, HTTP server, ACP hosts, and VS Code bridge that present the same agent session in different ways.

In plain words
What is it for?
Use it when changing startup routing, cross-interface events, session navigation, streaming output, host capabilities, or interface lifecycles.
Why use it?
It explains how user input and agent events move across interfaces without confusing a screen's state with the session's stored history.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Use it when changing startup routing, cross-interface events, session navigation, streaming output, host capabilities, or interface lifecycles.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/echovic/blade-code/interaction-surfaces
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.

Any agent
npx skills add echoVic/blade-code --skill interaction-surfaces
Clone the repo
git clone --depth 1 https://github.com/echoVic/blade-code

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 knowledge-interaction-surfaces

README.md
[![agentmods](https://agentmods.dev/badge/skills/echovic/blade-code/interaction-surfaces/github.svg)](https://agentmods.dev/skills/echovic/blade-code/interaction-surfaces)
Your own site
<a href="https://agentmods.dev/skills/echovic/blade-code/interaction-surfaces"><img src="https://agentmods.dev/badge/skills/echovic/blade-code/interaction-surfaces/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for knowledge-interaction-surfaces

Your own site · 80×15
<a href="https://agentmods.dev/skills/echovic/blade-code/interaction-surfaces"><img src="https://agentmods.dev/badge/skills/echovic/blade-code/interaction-surfaces.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 167 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,170 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 88% copy Near-identical to another mod 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.00167 $0.02170
Opus 5.5 $0.00067 $0.00868
Sonnet 5.5 $0.00033 $0.00434
Haiku 4.5 $0.00017 $0.00217

Measured 1mo ago against content hash 98604119fc9a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

knowledge-interaction-surfaces 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 1mo 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.

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.

Origin

This is a copy

88% identical to knowledge-extension-ecosystem-hooks-and-behavior-interception — 125 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.trae/knowledges/interaction-surfaces/SKILL.md · 67 lines

How it starts

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

Module Structure

该域是 Blade 的运行边界层:各表面负责接收用户或宿主输入、建立 Session 运行环境并投影 统一事件,但不拥有 Agent 决策或 durable transcript 的权威状态。

Directory Layout

  • packages/cli/src/blade.tsx — 统一进程入口与运行表面分流
  • packages/cli/src/cli/ — 全局参数、设置覆盖和 yargs 中间件
  • packages/cli/src/commands/ — Headless、Print、Serve、Web 与管理命令
  • packages/cli/src/ui/ — React + Ink 终端交互与本地事件投影
  • packages/cli/src/server/ — Hono HTTP、SSE、WebSocket 终端和服务端资源所有权
  • packages/cli/web/src/ — React Web、Zustand 投影、导航和预览工作区
  • packages/cli/src/acp/ — ACP Agent、Session、远程文件系统与终端能力适配
  • packages/vscode/src/ — VS Code WebSocket 桥

Key Entry Points

  • main() in packages/cli/src/blade.tsx — 按 Headless、Print、ACP、子命令和默认 TUI 的优先级启动表面
  • AppWrapper in packages/cli/src/ui/App.tsx — TUI 的信任判断、资源初始化和主界面入口
  • BladeServer.listenAsync() in packages/cli/src/server/server.ts — Web/API 服务启动与关闭入口
  • App in packages/cli/web/src/App.tsx — Web 导航恢复、任务流订阅和页面分流入口
  • runAcpIntegration() in packages/cli/src/acp/index.ts — ACP stdio/NDJSON 连接入口
  • activate() in packages/vscode/src/extension.ts — VS Code 桥激活入口

Gotchas

  • 各表面只是同一 Runtime 事实的投影,不能把 TUI Store、Web Zustand、ACP update 或 Headless 输出当作持久化权威;恢复必须重新读取 Session 数据或 committed event (packages/cli/src/store/slices/sessionSlice.ts, packages/cli/web/src/store/session/slices/sessionSlice.ts, packages/cli/src/acp/Session.ts)
  • 远端表面中的 Session 身份是 projectPath + sessionId,只按 session ID 过滤或缓存会把不同工作区的同名 Session 串在一起 (packages/cli/src/server/sessionRef.ts, packages/cli/web/src/store/session/sessionIdentity.ts)
  • committed event 带单调 seq 并可重放,流式 delta、heartbeat 和瞬时工具活动不带 seq;让 ephemeral 事件推进恢复游标会造成重连丢事件 (packages/cli/src/server/bus.ts, packages/cli/src/server/routes/session.ts, git:c776d496)
  • Headless、Web SSE 与 ACP 都必须有界且串行输出,但失败语义不同:Headless 取消当前运行,Web 逐出单个订阅者,ACP 中止当前 Session 操作;不能用一个表面的断连策略推断另一个表面 (packages/cli/src/commands/HeadlessOutputEgress.ts, packages/cli/src/server/OrderedSseEgress.ts, packages/cli/src/acp/Session.ts)
  • 工具结果先经过统一展示投影和表面字符预算,再映射成卡片、JSONL、SSE 或 ACP content;直接发送原始工具输出会绕过敏感元数据清理与有界输出规则 (packages/cli/src/tools/display/ToolResultProjector.ts, packages/cli/src/server/routes/session.ts)
  • ! <command> 在各表面共享 Session-owned 持久语义,但终端后端由表面决定;尤其 ACP 是否远程执行取决于宿主声明的 terminal capability (packages/cli/src/services/UserShellCommandService.ts, packages/cli/src/acp/AcpServiceContext.ts)

Read the full file on GitHub · 67 lines

Files

What ships with it

6 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. 1mo ago First seen · 67 lines · 167 tokens per session scan A 98604119fc9a

Subscribe to this mod's changes

knowledge-interaction-surfaces is a skill published in the GitHub repository echoVic/blade-code (181 stars, last pushed 3d ago), licensed MIT. It adds 167 tokens to every session and 2,170 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 88% identical to knowledge-extension-ecosystem-hooks-and-behavior-interception, differing in 125 lines, and is treated as a copy.

Related

Other skills, from other repositories

clinical-reports

Write comprehensive clinical reports including case reports (CARE guidelines), diagnostic reports (radiology/pathology/lab), clinical trial reports (ICH-E3, SAE, CSR), and patient documentation (SOAP, H&P, discharge summaries). Full support with templates, regulatory compliance (HIPAA, FDA, ICH-GCP), and validation…

synthetic-sciences/openscience · 71 tokens

clinical-decision-support

Generate professional clinical decision support (CDS) documents for pharmaceutical and clinical research settings, including patient cohort analyses (biomarker-stratified with outcomes) and treatment recommendation reports (evidence-based guidelines with decision algorithms). Supports GRADE evidence grading…

synthetic-sciences/openscience · 97 tokens

gget

Fast CLI/Python queries to 20+ bioinformatics databases. Use for quick lookups: gene info, BLAST searches, AlphaFold structures, enrichment analysis. Best for interactive exploration, simple queries. For batch processing or advanced BLAST use biopython; for multi-database Python workflows use bioservices.

synthetic-sciences/openscience · 66 tokens

immunology-assays

Computational analysis of immunology experimental data. ATAC-seq differential accessibility, immune cell tracking from microscopy, ELISA data processing with 4-parameter logistic fitting, immunohistochemistry quantification, antibody titer analysis, and cell cycle phase duration estimation. For flow cytometry use…

synthetic-sciences/openscience · 79 tokens

molecular-cloning

Molecular cloning simulation and design. PCR amplicon prediction, restriction enzyme digestion, Golden Gate and Gibson assembly simulation, primer design, CRISPR sgRNA design, and plasmid annotation. For protein-level sequence analysis use biopython or esm; for database lookups use gene-database or ensembl-database.

synthetic-sciences/openscience · 70 tokens

geo-database

Access NCBI GEO for gene expression/genomics data. Search/download microarray and RNA-seq datasets (GSE, GSM, GPL), retrieve SOFT/Matrix files, for transcriptomics and expression analysis.

synthetic-sciences/openscience · 47 tokens