Codeman
Ark0N/Codeman
Drive Codeman, the session manager this agent is running inside, over its HTTP API: list sessions, start worker sessions, send them prompts, block until they finish (wait / wait-output /…
覆盖会话状态所有权、持久事件、读侧投影、历史分叉/回退、活动轮次恢复及模型上下文压缩. An agent skill from echoVic/blade-code.
$ npx skills add echoVic/blade-code --skill knowledge-session-state-and-context -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install echoVic/blade-code knowledge-session-state-and-context --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/echoVic/blade-code.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.trae/knowledges/session-state-and-context .claude/skills/knowledge-session-state-and-context && rm -rf skills-srcUse ~/.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/
Install the "knowledge-session-state-and-context" agent skill from https://github.com/echoVic/blade-code/tree/main/.trae/knowledges/session-state-and-context into .claude/skills/knowledge-session-state-and-context/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "knowledge-session-state-and-context", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/echoVic/blade-code/tree/main/.trae/knowledges/session-state-and-contextType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add echoVic/blade-code --skill knowledge-session-state-and-context -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install echoVic/blade-code knowledge-session-state-and-context --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/echoVic/blade-code.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.trae/knowledges/session-state-and-context .agents/skills/knowledge-session-state-and-context && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "knowledge-session-state-and-context" agent skill from https://github.com/echoVic/blade-code/tree/main/.trae/knowledges/session-state-and-context into .agents/skills/knowledge-session-state-and-context/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "knowledge-session-state-and-context", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add echoVic/blade-code --skill knowledge-session-state-and-context -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install echoVic/blade-code knowledge-session-state-and-context --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/echoVic/blade-code.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.trae/knowledges/session-state-and-context .cursor/skills/knowledge-session-state-and-context && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "knowledge-session-state-and-context" agent skill from https://github.com/echoVic/blade-code/tree/main/.trae/knowledges/session-state-and-context into .cursor/skills/knowledge-session-state-and-context/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "knowledge-session-state-and-context", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/echoVic/blade-code.git --path .trae/knowledges/session-state-and-context--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add echoVic/blade-code --skill knowledge-session-state-and-context -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install echoVic/blade-code knowledge-session-state-and-context --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/echoVic/blade-code.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.trae/knowledges/session-state-and-context .gemini/skills/knowledge-session-state-and-context && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "knowledge-session-state-and-context" agent skill from https://github.com/echoVic/blade-code/tree/main/.trae/knowledges/session-state-and-context into .gemini/skills/knowledge-session-state-and-context/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "knowledge-session-state-and-context", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install echoVic/blade-code knowledge-session-state-and-contextInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add echoVic/blade-code --skill knowledge-session-state-and-context -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/echoVic/blade-code.git skills-src && mkdir -p .github/skills && cp -r skills-src/.trae/knowledges/session-state-and-context .github/skills/knowledge-session-state-and-context && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "knowledge-session-state-and-context" agent skill from https://github.com/echoVic/blade-code/tree/main/.trae/knowledges/session-state-and-context into .github/skills/knowledge-session-state-and-context/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "knowledge-session-state-and-context", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add echoVic/blade-code --skill knowledge-session-state-and-context -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install echoVic/blade-code knowledge-session-state-and-context --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/echoVic/blade-code.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.trae/knowledges/session-state-and-context .opencode/skills/knowledge-session-state-and-context && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "knowledge-session-state-and-context" agent skill from https://github.com/echoVic/blade-code/tree/main/.trae/knowledges/session-state-and-context into .opencode/skills/knowledge-session-state-and-context/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "knowledge-session-state-and-context", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
knowledge-session-state-and-context覆盖会话状态所有权、持久事件、读侧投影、历史分叉/回退、活动轮次恢复及模型上下文压缩. An agent skill from echoVic/blade-code.
Knowledge Session State And Context is an agent skill from echoVic/blade-code. 覆盖会话状态所有权、持久事件、读侧投影、历史分叉/回退、活动轮次恢复及模型上下文压缩。 适用于修改 Session 生命周期、JSONL/CQRS、resume/fork/rewind、steering、Token 预算或项目记忆。 不含 Agent 决策循环(见 ../agent-execution-and-orchestration/)和工具执行机制(见 ../tool-and-automation-platform/)。 关键词:SessionRuntime, SessionService, PersistentStore, SessionEventLog, JSONL, CQRS, compaction, rewind, steering。
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 Agent Workflows, covering Session handoff and Event-driven systems. The repository describes itself as: AI-powered CLI coding agent with 20+ built-in tools, MCP support, and multi-model providers. The licence is MIT.
Read from SKILL.md and the folder at commit 30f8684. It shows what the files ask for, not the result of running them.
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.
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.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Knowledge Session State And Context loads about 1.2k tokens when it runs. Until then it costs about 91 tokens; SKILL.md has 217 words of instructions outside code blocks.
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.
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.
The full file from echoVic/blade-code at commit 30f8684, republished under its MIT licence (© echoVic). 217 words, ~1,216 tokens.
.claude/skills/knowledge-session-state-and-context/SKILL.md (or your agent's skills folder).该域负责把一次会话的权威事实、活动运行时与各端读模型分开:持久事实进入 JSONL,运行时持有互斥与恢复状态,TUI/Web/ACP 从相同事实投影,模型上下文则可在不破坏完整历史的前提下压缩。
packages/cli/src/context/:事件模型、持久存储、上下文组装、压缩与 Token 预算packages/cli/src/agent/runtime/:Session 所有权、活动轮次 mailbox、恢复和私有 artifactpackages/cli/src/services/SessionService.ts:会话目录、加载、分叉、回退、归档与导出编排packages/cli/src/services/SessionInteractionService.ts:持久交互请求、响应和崩溃恢复packages/cli/src/memory/:跨会话项目记忆与压缩后巩固SessionRuntime.initialize() in packages/cli/src/agent/runtime/SessionRuntime.ts:获取会话所有权并执行恢复PersistentStore in packages/cli/src/context/storage/PersistentStore.ts:将领域动作转换为有序事件SessionService in packages/cli/src/services/SessionService.ts:面向 CLI、Web 与 ACP 的持久会话服务CompactionService.compact() in packages/cli/src/context/CompactionService.ts:生成并约束模型可见替换上下文sessionId 不是全局身份;省略 projectPath 的查找可能因多个工作区同名而拒绝,跨端路由必须保持 sessionId + canonical projectPath 复合身份 (packages/cli/src/services/SessionService.ts, packages/cli/src/server/sessionRef.ts)packages/cli/src/context/storage/PersistentStore.ts, packages/cli/src/context/storage/sqlite/projection.ts)session_rewound 改变有效事件,后者通过 replacement checkpoint 改变模型可见上下文;直接截断 JSONL 会同时破坏审计、导出和断点续传 (packages/cli/src/services/sessionRewind.ts, packages/cli/src/services/SessionService.ts)packages/cli/src/agent/runtime/DurableSteeringInbox.ts, packages/cli/src/agent/runtime/UserPromptArtifactStore.ts)SessionLease 再修复 orphan 进程、工具调用和 turn;颠倒顺序会让两个进程同时“恢复”同一条父链 (packages/cli/src/agent/runtime/SessionRuntime.ts, packages/cli/src/agent/runtime/SessionLease.ts, git:46145c53)SessionRuntime/SessionService -> ContextManager/PersistentStore -> SessionEventLog -> JSONLStore,事件落盘并取得 seq 后才允许发布给各 surface (packages/cli/src/agent/runtime/SessionRuntime.ts, packages/cli/src/context/ContextManager.ts, packages/cli/src/context/events/SessionEventLog.ts)packages/cli/src/services/SessionService.ts, packages/cli/src/context/storage/sqlite/projection.ts)packages/cli/src/agent/runtime/DurableSteeringInbox.ts, packages/cli/src/context/storage/PersistentStore.ts)packages/cli/src/store/slices/sessionSlice.ts, packages/cli/web/src/store/session/handlers/eventHandlers.ts, packages/cli/src/acp/Session.ts)packages/cli/src/context/events/SessionEventLog.ts, git:c776d496)packages/cli/src/context/storage/sqlite/projection.ts, git:1f856671)packages/cli/src/context/ContextManager.ts, git:a074815b)commitValidated 或 commitValidatedBatch,在同一 per-file 队列内读取最新事实、校验并追加 (packages/cli/src/context/events/SessionEventLog.ts, packages/cli/src/context/storage/JSONLStore.ts)materializeSessionEvents(),确保历史中的多次 rewind 按顺序生效后再计算 turn、interaction、搜索或 metadata (packages/cli/src/services/sessionRewind.ts, packages/cli/src/services/SessionService.ts)packages/cli/src/context/TokenBudgetHandoff.ts, packages/cli/src/context/events/SessionEventLog.ts)./durable-transcript-and-event-projection/SKILL.md:修改 JSONL 提交、seq、replay、SQLite 或 TUI/Web 事件投影时进入./session-catalog-fork-rewind-and-export/SKILL.md:修改目录分页、归档、恢复、分叉、回退、搜索或 Markdown 导出时进入./active-turn-interactions-and-recovery/SKILL.md:修改 turn 互斥、steering、持久交互、崩溃恢复、旁路问答或用户 Shell 时进入./context-compaction-token-budget-and-memory/SKILL.md:修改上下文组装、压缩策略、Token handoff、工具结果预算或 Auto Memory 时进入© echoVic, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .trae/knowledges/session-state-and-context of echoVic/blade-code.
Open the folder on GitHubat commit 30f8684
Knowledge Session State And Context 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Knowledge Session State And Context this skillechoVic/blade-code | 180 | — | ~1.2k | Automated safety check: Pass | MIT | |
| CodemanArk0N/Codeman | 784 | — | ~13k | Automated safety check: Notes | MIT | |
| Session Managementjosstei/maestro-orchestrate | 465 | — | ~3.5k | Automated safety check: Pass | Apache-2.0 | |
| Adversarial Beampproenca/dot-skills | 214 | — | ~2.2k | Automated safety check: Pass | MIT | |
| Orca CLIstablyai/orca | 87k | 2 repos | ~593 | Automated safety check: Pass | MIT | |
| Beads Task Memorygastownhall/beads | 28k | — | ~1.2k | Automated safety check: Pass | MIT |
Ark0N/Codeman
Drive Codeman, the session manager this agent is running inside, over its HTTP API: list sessions, start worker sessions, send them prompts, block until they finish (wait / wait-output /…
josstei/maestro-orchestrate
Manages orchestration session state, tracking, and resumption
pproenca/dot-skills
A skill your agent uses to gate Elixir/OTP systems on BEAM runtime architecture with a pass/fail adversarial review — a single blind reviewer subagent judges a diff or file set against 23 decidable…
stablyai/orca
Operate Orca-managed worktrees, folder contexts, terminals, repos, automations, artifacts, skill sharing, worktree comments, and Orca's embedded browser…
gastownhall/beads
Tracks multi-session work with dependencies in the bd issue tracker so the agent can find ready tasks and recover its context after conversation compaction.
slopus/happy
Searches past Claude Code, Codex and Cursor sessions and summarizes what was worked on, tried or decided, using extraction scripts instead of reading raw logs.
echoVic/blade-code
Base64 编解码工具,支持编码/解码文本、JSON、二进制文件,自动检测格式,支持批量处理. An agent skill from echoVic/blade-code.
echoVic/blade-code
Review frontend code for best practices, bugs, and improvements.
echoVic/blade-code
Explore and summarize popular GitHub projects. An agent skill from echoVic/blade-code.
echoVic/blade-code
覆盖 Session 级 LSP 配置快照、stdio 进程、文档同步、语义查询、诊断回注、崩溃恢复 和子 Session 继承。进入条件:新增语言服务器、修改 LSP 工具、排查诊断缺失/重复、 处理 worktree 或 ACP 差异、修复进程泄漏或 transport 代际问题。不包含:VS Code 扩展桥接(见…
echoVic/blade-code
覆盖 SkillRegistry、SKILL.md 延迟加载、自定义命令 Markdown 解析、来源覆盖、插件 命名空间、Session 快照和模型/用户调用入口。进入条件:新增 Skill 或命令字段、调整 发现优先级、调试 /command 或 Skill 工具、修改 Prompt 元数据或消费者集成。不包含: 插件安装生命周期(见…
echoVic/blade-code
Covers 领域能力如何包装成内置工具、getBuiltinTools 的 Session 依赖注入、ToolSearch 延迟激活,以及 Goal/Task/Team/Plan/Skill/LSP/MCP/Web/Config/Worktree 适配边界。
Categories
覆盖会话状态所有权、持久事件、读侧投影、历史分叉/回退、活动轮次恢复及模型上下文压缩. An agent skill from echoVic/blade-code. Knowledge Session State And Context is an agent skill from echoVic/blade-code.
Knowledge Session State And Context fits situations like: tasks that involve Session handoff; tasks that involve Event-driven systems.
Run `npx skills add echoVic/blade-code --skill knowledge-session-state-and-context -a claude-code`. Or copy the skill folder (.trae/knowledges/session-state-and-context in echoVic/blade-code) into .claude/skills/knowledge-session-state-and-context in your project. Claude Code loads it when a task matches its description.
Run `npx skills add echoVic/blade-code --skill knowledge-session-state-and-context -a codex`. Or copy the skill folder (.trae/knowledges/session-state-and-context in echoVic/blade-code) into .agents/skills/knowledge-session-state-and-context in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add echoVic/blade-code --skill knowledge-session-state-and-context -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/knowledge-session-state-and-context, .gemini/skills/knowledge-session-state-and-context, .github/skills/knowledge-session-state-and-context and .opencode/skills/knowledge-session-state-and-context in your project.
SKILL.md names no scripts, command-line tools or credentials: Knowledge Session State And Context is instructions for the agent only.
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.
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.
Knowledge Session State And Context is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.2k tokens (SKILL.md is roughly 4.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Knowledge Session State And Context: Codeman (Ark0N/Codeman, 784 stars), Session Management (josstei/maestro-orchestrate, 465 stars), Adversarial Beam (pproenca/dot-skills, 214 stars) and Orca CLI (stablyai/orca, 87k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
echoVic (a GitHub user) maintains it in echoVic/blade-code, which has 180 GitHub stars. The repository holds 38 skills in this directory. The repository was last updated on September 27, 2026.
Source: echoVic/blade-code on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.