deploy-akashic

deploy-akashic is a skill for Claude Code, Codex from kachofugetsu09/akashic-agent. It costs 38 tokens per session (1,344 once invoked), scanned A, original, MIT.

A deployment procedure for an Akashic project that checks and merges an approved pull request, then submits the resulting code revision to update a Docker-based service. The host system handles stopping, moving, and restarting the service.

In plain words
What is it for?
Use it when the user has explicitly authorised merging specific pull requests and updating the current Akashic Docker instance.
Why use it?
It separates code checks and approval from the host's deployment work, reducing the risk of deploying an unapproved or changed revision.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when the user has explicitly authorised merging specific pull requests and updating the current Akashic Docker instance.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kachofugetsu09/akashic-agent/deploy-akashic
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 kachofugetsu09/akashic-agent --skill deploy-akashic
Clone the repo
git clone --depth 1 https://github.com/kachofugetsu09/akashic-agent

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 deploy-akashic

README.md
[![agentmods](https://agentmods.dev/badge/skills/kachofugetsu09/akashic-agent/deploy-akashic/github.svg)](https://agentmods.dev/skills/kachofugetsu09/akashic-agent/deploy-akashic)
Your own site
<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.

agentmods 80×15 button for deploy-akashic

Your own site · 80×15
<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>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,344 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 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.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

Measured 12d ago against content hash 5106a5ffe3b0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

plugins/skills/skills/deploy-akashic/SKILL.md · 74 lines

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。

  1. 从用户请求确定允许合并的 PR 和备份选择;“提 PR”不授权合并或部署。

  2. 用 Shell 的 gh pr view / gh pr checks 核对目标 head、依赖和 CI。 合并使用 gh pr merge <number> --squash --match-head-commit <head-sha>。 检查失败、head 改变或未解决冲突时停止部署,说明真实原因。

  3. 所有获授权 PR 合并后,用 git ls-remote --exit-code origin refs/heads/main 取得唯一完整 40 位 SHA。宿主会准备干净 checkout;不需要在运行目录拉代码。

  4. 把下面命令作为最后一次 Shell 操作,单独执行:

    akashic-release submit --commit <完整SHA>
    

    仅在本次明确要求备份时加 --backup;默认不备份。 CLI 自动读取 Shell 的当前调用身份,不需要填写 session、Turn 或 boot ID。 部署失败时,宿主会把失败原因送回本会话并唤醒你;用户要求把结果送到另一个对话会话时, 加 --session <会话编号>。 如 shell 提前返回运行句柄,先用现有 write_stdin 等待同一个命令退出。 接单成功应包含 status: accepted、requestId 和目标 SHA。

  5. 正常回复用户:“已提交更新 ,任务编号 。本轮结束后,宿主会等待其他工作收尾再更新;这不是更新成功回执。” 接单成功后不再查状态、不 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 被替换时会拒绝更新;既有消息保留。

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. 12d ago Changed · +1 lines 5106a5ffe3b0
  2. 23d ago Changed · +5 lines f34e8ee60e0a
  3. 24d ago Changed · +6 lines 463f912a725a
  4. 1mo ago Changed · +1 lines 08d7b1bfe794
  5. 1mo ago First seen · 61 lines · 38 tokens per session scan A 6a1c28bc802a

Subscribe to this mod's changes

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.

Related

deploy-akashic compared with skills from other repositories

deploy-akashic next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
deploy-akashickachofugetsu09/akashic-agentSkill529yesterdayMITA38Claude Code, Codex
releasememgraph/ai-toolkitSkill121yesterdayApache-2.0A35Claude Code, Codex
release-readinessALTEN-group/coding-palSkill66d agoMITA39Claude Code, Codex
finding-latest-versionsSmirnov-Labs/claude-skillsSkill6yesterdayMITA57Claude Code, Codex
single-host-deployhxy91819/mason-skillsSkill3yesterdayMITB52Claude Code, Codex
deployment-operationszhpeng24/devkitSkill34mo agoMITA57Claude Code, Codex
ferrogate-releaselianluo-esign/ferrogateSkill322mo agononeA88Claude Code, Codex