compute

compute is a skill for Claude Code from s0912758806p/agentic-sop-to-work. It costs 34 tokens per session (340 once invoked), scanned A, original, MIT.

A command-line tool that calculates count, total, average, smallest, and largest values from a structured readings file.

In plain words
What is it for?
Use it after numeric extraction to produce summary statistics for reporting or the next processing step.
Why use it?
It avoids repeated manual calculations and carries forward the record of where the original readings came from.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the agentic-sop-kit plugin — 9 skills, 1 command, 2 hooks shipped together

Good fit Use it after numeric extraction to produce summary statistics for reporting or the next processing step.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/s0912758806p/agentic-sop-to-work/compute
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 s0912758806p/agentic-sop-to-work --skill compute
Clone the repo
git clone --depth 1 https://github.com/s0912758806p/agentic-sop-to-work

Made for: Claude Code.

Or install agentic-sop-kit, the plugin that ships this one along with the rest of its 9 skills, 1 command, 2 hooks.

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 compute

README.md
[![agentmods](https://agentmods.dev/badge/skills/s0912758806p/agentic-sop-to-work/compute/github.svg)](https://agentmods.dev/skills/s0912758806p/agentic-sop-to-work/compute)
Your own site
<a href="https://agentmods.dev/skills/s0912758806p/agentic-sop-to-work/compute"><img src="https://agentmods.dev/badge/skills/s0912758806p/agentic-sop-to-work/compute/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 compute

Your own site · 80×15
<a href="https://agentmods.dev/skills/s0912758806p/agentic-sop-to-work/compute"><img src="https://agentmods.dev/badge/skills/s0912758806p/agentic-sop-to-work/compute.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 340 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.00034 $0.00340
Opus 5 $0.00017 $0.00170
Sonnet 5 $0.00007 $0.00068
Haiku 4.5 $0.00003 $0.00034

Measured 11d ago against content hash d2380b31eb39, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

compute 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 11d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (tool.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/agentic-sop-kit/kit/skills/compute/SKILL.md · 30 lines

What it actually says

Skill B — compute(計算統計)

SOP 流程的第 2 步。讀上游 readings、算統計、透傳來源追溯。

綁定的單一工具

  • python3(標準庫 statistics)。本 skill 只此一個工具。

依賴(完整宣告;缺項明確報錯)

  • python >= 3.8

參數化(無硬編碼)

  • 輸入:--in <readings artifact.json>
  • 輸出:--out <stats artifact.json>

介面

  • 輸入 artifactreadings@1(讀 data.readings[].value)。
  • 輸出 artifact{"schema":"stats@1","produced_by":"compute","data":{"stats":{count,sum,mean,min,max}},"trace":[...透傳...]}
  • 下游(report)讀 data.statstrace

執行

python3 skills/compute/tool.py --in <out/a.json> --out <out/b.json>

獨立重用

skills/compute/ + lib/kit.py 可單獨抽出;只要上游給 readings@1 artifact 即可運作。

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. 11d ago First seen · 30 lines · 34 tokens per session scan A d2380b31eb39

Subscribe to this mod's changes

compute is a skill published in the GitHub repository s0912758806p/agentic-sop-to-work (206 stars, last pushed 2d ago), licensed MIT. It adds 34 tokens to every session and 340 once invoked, about $0.0002 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

paper-writing

Use when the user wants to write, structure, or revise academic paper sections, improve notation consistency, or refine figures and tables. Triggers on phrases like "write the abstract", "structure the methods", "improve this section", "notation consistency", "figure refinement", or "paper structure".

fcakyon/phd-skills · 63 tokens

using-cesiumjs-skills

Use when starting any conversation involving CesiumJS development - provides orientation on available domain skills and how they activate.

CesiumGS/cesiumjs-skills · 29 tokens

smt-solving-with-z3-cvc5

Use when a query needs direct SMT solving, an unsat core needs debugging, or another tool reports a solver timeout or unknown. Not for deciding what to prove: use proof-driven.

OutlineDriven/odin-claude-plugin · 47 tokens

x-spec2

A compact system-design guide for turning vague or cross-module requests into a small, structured specification package. It defines requirements, acceptance scenarios, module boundaries, and—when needed—data flow, state, timing, resources, or recovery design.

KtKID/x-dev-pipeline · 397 tokens

x-adversarial-risk

A focused adversarial review of a software specification. It tries to find small counterexamples that would expose incorrect implementations, such as invalid state changes, crashes, duplicate actions, permission mistakes, or concurrent events.

KtKID/x-dev-pipeline · 85 tokens

fulcra-lab-results

Parse a lab-report PDF (LabCorp, Quest, hospital labs — any provider) into one canonical Fulcra data track per marker (LDL-C, HbA1c, TSH, ferritin, …). You read the PDF; the fulcra-labs engine normalizes units, validates, and ingests. Verify-before-ingest: nothing is written without passing validation or explicit…

ashfulcra/fulcra-tools · 114 tokens