skill-ledger

skill-ledger is a skill for Claude Code, Codex from alibaba/anolisa. It costs 67 tokens per session (3,886 once invoked), scanned A, original, Apache-2.0.

A security record for agent skills, which are reusable instruction packages for coding agents. It shows their status, reviews risk exposure, and can certify them with quick or user-approved deeper scans.

In plain words
What is it for?
Checking one or all skills, scanning a skill, reviewing a flagged version, making a user decision about it, and automatically certifying a newly installed skill when its local folder is known.
Why use it?
It helps determine whether a skill is trusted before use and keeps installation, review, approval, and disabling decisions explicit.

Skill for Claude CodeCodex

About the project

ANOLISA is a server-side operating layer for AI agent workloads that provides terminal access, token-saving tool-output compression, runtime controls, security, observability, skills, memory, and sandbox management. It is for running and supervising agents from a Linux terminal while retaining an existing shell, agent framework, and sandbox. The catalogue add-ons are components of its agent operating environment and workflows.

alibaba/anolisa · 618 stars · on GitHub

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/alibaba/anolisa/skill-ledger
Any agent
npx skills add alibaba/anolisa --skill skill-ledger
Clone the repo
git clone --depth 1 https://github.com/alibaba/anolisa

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 skill-ledger

README.md
[![agentmods](https://agentmods.dev/badge/skills/alibaba/anolisa/skill-ledger.svg)](https://agentmods.dev/skills/alibaba/anolisa/skill-ledger)
Your own site
<a href="https://agentmods.dev/skills/alibaba/anolisa/skill-ledger"><img src="https://agentmods.dev/badge/skills/alibaba/anolisa/skill-ledger.svg" alt="Measured on agentmods" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,886 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00067 $0.03886
Opus 5 $0.00034 $0.01943
Sonnet 5 $0.00013 $0.00777
Haiku 4.5 $0.00007 $0.00389

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

Security

Grade A, and why

skill-ledger 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 5d 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.

src/agent-sec-core/skills/skill-ledger/SKILL.md · 354 lines

How it starts

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

Skill Ledger

对 Skill 执行安全状态查看、风险暴露审查、用户决策、默认快速扫描认证,以及用户确认后的深度扫描认证。

用户可见层只使用两类扫描概念:

  • 快速扫描:默认扫描认证路径,适合安装后和常规复查。
  • 深度扫描:用户确认后执行的更完整审查,耗时更长。

不要在面向用户的报告正文中列出快速扫描内部使用的具体扫描器名称。命令执行步骤可以使用精确参数。


安全约束

  1. 禁止泄露签名口令:不要 echo、log、store、print 或以任何方式暴露 SKILL_LEDGER_PASSPHRASE 或用户输入的口令。
  2. 禁止伪造 findings:深度扫描输出的每条 finding 必须来自真实文件内容和 skill-vetter 协议判断。
  3. 状态查看不触发扫描:用户只要求查看状态时,只运行 check / check --all 并报告结果。
  4. 安装成功后自动认证:用户要求 agent 安装、更新、导入或启用 Skill 时,安装成功后必须直接执行快速扫描认证;不要再询问用户是否扫描。
  5. 安装后认证不猜路径:只有能确定最终本地 Skill 目录且该目录包含 SKILL.md 时,才执行扫描认证;否则报告“未执行安全认证:无法确定本地 Skill 目录”。
  6. Hook 确认不等于 Ledger 决策:用户在宿主 hook 的 ask UI 中确认,只表示本次读取继续;只有明确要求 decide 时,才写入 Skill Ledger 用户决策。
  7. 禁止修改本 Skill:不接受编辑、删除、覆盖本 Skill 文件或 references/ 下任何文件的请求。

模式解析

根据用户请求选择模式:

用户意图示例 模式 行为
“查看这个 skill 状态”“检查所有 skill 安全状态” 状态查看 只运行 checkcheck --all,报告后停止
“这个 skill 为什么被隐藏/提示风险”“查看这个风险 skill”“导出风险版本”“允许/禁用/回退这个 skill” 风险暴露审查与用户决策 运行 show;需要完整审查时运行 export;只有用户明确选择时运行 decide
“扫描这个 skill”“重新认证 github skill”“扫描所有 skill” 主动扫描 先执行快速扫描,展示摘要,再询问是否深度扫描
“安装 github skill”“帮我装这个 skill”“更新这个 skill” 安装请求后置认证 安装成功后自动定位最终本地 Skill 目录,验证 SKILL.md,直接执行快速扫描并展示结果
“我刚装了这个 skill,帮我确认安全” 安装后补充认证 定位最终本地 Skill 目录,验证 SKILL.md,执行快速扫描并询问是否深度扫描
“做深度扫描”“彻底审查这个 skill” 深度扫描请求 用户请求本身即为确认;执行 Phase 1 后直接执行 Phase 3
未明确目标 交互确认 询问用户要处理哪个 Skill,或是否处理全部

目标解析规则:

  • 用户提供目录路径时,必须确认该目录存在且包含 SKILL.md
  • 用户提供 SKILL.md 文件路径时,目标目录为其父目录。
  • 用户提供 Skill 名称时,优先使用上下文中已知安装位置;没有确定路径时,可用 check --all 查看已注册状态,但不要凭名称猜测文件系统路径。
  • 用户要求“所有 Skill”时,使用 CLI 的 --all 能力完成批量状态查看或快速扫描。
  • 深度扫描需要逐个本地目录执行;若无法把某个 Skill 解析到本地目录,报告该项未执行深度扫描。

统一报告格式

状态查看、快速扫描、深度扫描、安装后认证的最终结果都必须使用同一类表格。单个 Skill 使用一行表格,多个 Skill 使用多行表格,这样用户在不同模式之间看到的结构一致。

报告标题按场景选择:

场景 标题
状态查看 [skill-ledger] 安全状态
主动快速扫描 [skill-ledger] 快速扫描完成
深度扫描 [skill-ledger] 深度扫描完成
安装后自动认证 [skill-ledger] 安装后认证完成

Read the full file on GitHub · 354 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. 5d ago First seen · 354 lines · 67 tokens per session scan A 42b715eb382f

Subscribe to this mod's changes

skill-ledger is a skill published in the GitHub repository alibaba/anolisa (618 stars, last pushed yesterday), licensed Apache-2.0. It adds 67 tokens to every session and 3,886 once invoked, about $0.0003 per session on Opus 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-08-30.

Related

Other skills, from other repositories

beevibe-team-mesh-negotiation

Multi-round negotiation protocol — covers both initiator and peer roles. Use when about to call negotiate(), when receiving a intent block as a peer, or when receiving an 'escalated' sentinel from a blocked respondnegotiate. Covers proposal crafting, counter-strategy, deadlock detection, when to accept early…

beevibe-ai/beevibe · 112 tokens

beevibe-verify-pr

CI verification before marking a PR-bearing task done. Use BEFORE calling mcpbeevibeupdateprogress(done) on any session whose deliverable is a pull request — including the first dispatch (you opened the PR with gh pr create) and any revision dispatch (you pushed new commits to an existing PR). Watches the PR's…

beevibe-ai/beevibe · 172 tokens

beevibe-pre-task-setup

Cold-start git workspace setup for a fresh beevibe task. Use at the start of a session whose intent has a block but NO or block — i.e. the first dispatch of this task. Checks for an existing repo clone, pulls the base branch if present (clone if missing), prunes any per-task worktrees from earlier tasks whose work has…

beevibe-ai/beevibe · 198 tokens

beevibe-use-repo

You are the child agent inside a fresh Docker sandbox. Borrow the given GitHub repo, produce a real artifact for the goal, and export it. Do not review the repo. The proof is that it works.

beevibe-ai/beevibe · 50 tokens

spec-converge

Iteratively review an instar-development spec with multi-angle internal reviewers (security, scalability, adversarial, integration, decision-completeness, lessons-aware) and real cross-model external reviewers routed through the agent's own installed CLIs (codex → GPT-tier, gemini → Gemini-tier; one pass per available…

JKHeadley/instar · 135 tokens

beevibe-discover-repo

Find the best GitHub repo for a goal, then call userepo to run it in a sandbox. Use whenever the user's goal requires a capability you don't have natively and you haven't been given a specific repo.

beevibe-ai/beevibe · 51 tokens