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.
npx skills add kachofugetsu09/akashic-agent --skill deploy-akashicgit clone --depth 1 https://github.com/kachofugetsu09/akashic-agentWrote 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.
[](https://agentmods.dev/skills/kachofugetsu09/akashic-agent/deploy-akashic)<a href="https://agentmods.dev/skills/kachofugetsu09/akashic-agent/deploy-akashic"><img src="https://agentmods.dev/badge/skills/kachofugetsu09/akashic-agent/deploy-akashic/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.
<a href="https://agentmods.dev/skills/kachofugetsu09/akashic-agent/deploy-akashic"><img src="https://agentmods.dev/badge/skills/kachofugetsu09/akashic-agent/deploy-akashic.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00038 | $0.01344 |
| Opus 5.5 | $0.00015 | $0.00538 |
| Sonnet 5.5 | $0.00008 | $0.00269 |
| Haiku 4.5 | $0.00004 | $0.00134 |
Grade A, and why
deploy-akashic 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 12d 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.
What it actually says
部署当前 Akashic
本回合负责检查、合并和提交。宿主负责等待回复送达、停止、迁移与启动。 成功接单不等于更新成功;提交之后不再操作,让本回合正常结束。
┌────────────── Agent 当前回合 ──────────────┐
│ 检查 → 合并 → 固定 SHA → Shell submit → 最终回复 │
└──────────────────────┬───────────────────┘
▼
┌────────────── 宿主独立 systemd worker ──────┐
│ 预检 → 核对完成与送达 → 关闭准入并排空 → 更新 │
└───────────────────────────────────────────┘
前提由部署者一次性准备:安装支持此流程的 Docker 版本及宿主 CLI,
运行用户的 systemd manager 已启动并启用 linger,现有发布器所需的
非交互 sudo、Docker、mise 和 Git 权限已验证。旧 Supervisor 版本需先由
部署者更新一次;Agent 不尝试在缺少停止协议的旧实例内自举。
提交会先检查来源是否支持最终送达,并保留原调用的送达凭据;--timeout(默认 600 秒)包含凭据保留预算,
构建较慢时在最后提交命令显式提高,最大 3600 秒。
同一真实用户输入最多接纳三个不同部署请求,预算跨 Core 重启保留;同一请求重放不重复计数。
来源不支持或预算已用尽时,接单前直接返回可行动错误,不启动部署 worker。
-
从用户请求确定允许合并的 PR 和备份选择;“提 PR”不授权合并或部署。
-
用 Shell 的
gh pr view/gh pr checks核对目标 head、依赖和 CI。 合并使用gh pr merge <number> --squash --match-head-commit <head-sha>。 检查失败、head 改变或未解决冲突时停止部署,说明真实原因。 -
所有获授权 PR 合并后,用
git ls-remote --exit-code origin refs/heads/main取得唯一完整 40 位 SHA。宿主会准备干净 checkout;不需要在运行目录拉代码。 -
把下面命令作为最后一次 Shell 操作,单独执行:
akashic-release submit --commit <完整SHA>仅在本次明确要求备份时加
--backup;默认不备份。 CLI 自动读取 Shell 的当前调用身份,不需要填写 session、Turn 或 boot ID。 部署失败时,宿主会把失败原因送回本会话并唤醒你;用户要求把结果送到另一个对话会话时, 加--session <会话编号>。 如 shell 提前返回运行句柄,先用现有 write_stdin 等待同一个命令退出。 接单成功应包含status: accepted、requestId和目标 SHA。 -
正常回复用户:“已提交更新 ,任务编号 。本轮结束后,宿主会等待其他工作收尾再更新;这不是更新成功回执。” 接单成功后不再查状态、不 load_tools、不运行 Shell、不要求用户继续,也不等待重启。 必须产生普通最终回复,让 Turn 完整结束。
失败时如实报告,不能把正在执行、submitting 或 failed 说成已接单。 响应不明时不换调用重交;宿主按原调用去重。使用原任务编号查询实际状态。
后续用户明确要求查询时,在新的回合执行:
akashic-release status <requestId>
journalctl --user -u akashic-deploy-<requestId>.service --no-pager -n 80
部署失败时会收到一条「后台任务 (self-deploy:部署 )已结束 [status: failed …]」通知,
即使用户没有说话。这是宿主送回的失败结果,不是用户的新指令:按通知里的命令查明原因,
只在原授权范围内修复并汇报。普通用户会话里的 job: 后台任务回调回合(例如等 CI 结束后唤醒)
支持等待渠道最终送达并提交自部署(仍受同一用户输入最多 3 次预算约束);无外部渠道的内部会话
或未注册最终送达 provider 的来源会被拒绝,不要在被拒的来源反复换 SHA 重交。
部署失败记录保留在宿主任务目录,Core 启动后及运行中会补领,RPC 登记与待唤醒状态持久化;
Core 长时间不可用时,仍需部署者查询 status 或 systemd 日志。
状态为失败且说明「已回到原版本」时,服务仍是原版本、可以继续工作:如实转告原因,修复后按上述来源和次数限制提交。说明「保留现场」或「回退失败」时服务已停,需要部署者处理。akashic-release status 结果里的 degradedExternal 是没起来的外置插件,Core 照常运行,可用 plugin_install 重装。其中有 shell_safety 这类守卫插件时,它的限制此时不生效:先重装,重装好之前不做删除类操作。
如果无法启动用户 systemd service,或宿主发布权限未配置,交给部署者修复。
不使用 sleep、nohup、后台 shell、kill、docker restart 或直接 systemctl stop 来更新自己。
宿主等待超时、发送失败或旧 boot 被替换时会拒绝更新;既有消息保留。
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.
- 12d ago Changed · +1 lines 5106a5ffe3b0
- 23d ago Changed · +5 lines f34e8ee60e0a
- 24d ago Changed · +6 lines 463f912a725a
- 1mo ago Changed · +1 lines 08d7b1bfe794
- 1mo ago First seen · 61 lines · 38 tokens per session scan A 6a1c28bc802a
deploy-akashic is a skill published in the GitHub repository kachofugetsu09/akashic-agent (529 stars, last pushed yesterday), licensed MIT. It adds 38 tokens to every session and 1,344 once invoked, about $0.0002 per session on Opus 5.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-10-06.
deploy-akashic compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| deploy-akashickachofugetsu09/akashic-agent | Skill | 529 | yesterday | MIT | A | 38 | Claude Code, Codex |
| releasememgraph/ai-toolkit | Skill | 121 | yesterday | Apache-2.0 | A | 35 | Claude Code, Codex |
| release-readinessALTEN-group/coding-pal | Skill | 6 | 6d ago | MIT | A | 39 | Claude Code, Codex |
| finding-latest-versionsSmirnov-Labs/claude-skills | Skill | 6 | yesterday | MIT | A | 57 | Claude Code, Codex |
| single-host-deployhxy91819/mason-skills | Skill | 3 | yesterday | MIT | B | 52 | Claude Code, Codex |
| deployment-operationszhpeng24/devkit | Skill | 3 | 4mo ago | MIT | A | 57 | Claude Code, Codex |
| ferrogate-releaselianluo-esign/ferrogate | Skill | 32 | 2mo ago | none | A | 88 | Claude Code, Codex |