code-writer

code-writer is a skill for Claude Code from GGbond-bo/MemOmics-Agent. It costs 21 tokens per session (1,029 once invoked), scanned A, original, MIT.

A coding aid for writing Python and R scripts, data-analysis code, reusable functions, and other programs. It also describes checking requirements, running the code, and reviewing results.

In plain words
What is it for?
Use it to develop scripts, data-analysis programs, functions, and small software tools in Python or R.
Why use it?
It gives a basic structure for turning a coding request into tested code with error handling.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter.

Good fit Use it to develop scripts, data-analysis programs, functions, and small software tools in Python or R.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ggbond-bo/memomics-agent/code-writer
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 GGbond-bo/MemOmics-Agent --skill code-writer
Clone the repo
git clone --depth 1 https://github.com/GGbond-bo/MemOmics-Agent

Made for: Claude Code.

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 code-writer

README.md
[![agentmods](https://agentmods.dev/badge/skills/ggbond-bo/memomics-agent/code-writer/github.svg)](https://agentmods.dev/skills/ggbond-bo/memomics-agent/code-writer)
Your own site
<a href="https://agentmods.dev/skills/ggbond-bo/memomics-agent/code-writer"><img src="https://agentmods.dev/badge/skills/ggbond-bo/memomics-agent/code-writer/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 code-writer

Your own site · 80×15
<a href="https://agentmods.dev/skills/ggbond-bo/memomics-agent/code-writer"><img src="https://agentmods.dev/badge/skills/ggbond-bo/memomics-agent/code-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,029 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.00021 $0.01029
Opus 5 $0.00010 $0.00515
Sonnet 5 $0.00004 $0.00206
Haiku 4.5 $0.00002 $0.00103

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

Security

Grade A, and why

code-writer 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 9d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/run.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.

hermes_home/skills/bioinformatics/code-writer/SKILL.md · 112 lines

What it actually says

代码编写

编写Python/R脚本,数据分析代码,函数封装,程序开发

分析步骤:

  • 需求确认: 确认代码需求、输入输出、依赖
  • 编写代码: 编写代码,包含注释和错误处理
  • 测试执行: 运行代码,检查输出

When to Use

当你需要 代码编写 时触发

Triggers

  • 写代码
  • 写脚本
  • 写个python
  • 写r代码
  • 写个函数
  • 编程
  • 帮我写

Pipeline

  1. 需求确认
    • 确认代码需求、输入输出、依赖
  2. 编写代码
    • 编写代码,包含注释和错误处理
  3. 测试执行
    • 运行代码,检查输出

Parameters

Parameter Default Notes
steps 需求确认 -> 编写代码 -> 测试执行

Parameter Adaptation: Adjust parameters based on tissue quality, species, and condition. Literature values take priority, then official defaults, then tissue-specific adjustments.

Proven Scripts

Scripts that have been successfully executed and passed analysis review. These are automatically saved after successful runs.

Species Tissue Condition Date Score
(none yet)

Common Issues

Error Cause Solution
(accumulated from runs)

References

  • Source: MemOmics built-in
  • Category: general
  • Language: Python/R

🗣️ 辩论机制(debate_analysis)

本 skill 在执行后,如果涉及参数选择、方法决策、结果判断等不确定环节,必须调用 工具进行多角色辩论。

辩论规则

  • 正方 3 位专业编辑(各自独立,互相看不到):生物学编辑 / 统计学编辑 / 生信编辑
  • 反方 4 位专业编辑(各自独立,互相看不到,也看不到正方):生物学编辑 / 统计学编辑 / 生信编辑 / 历史经验编辑
  • 裁判:看到所有 7 方论点后给出裁决 + 置信度(高/中/低)
  • 上下文隔离:每个编辑是独立的 LLM API 调用,messages 只包含自己的 prompt
  • 分科知识库:生物学编辑用 biology_kb / 统计学编辑用 statistics_kb / 生信编辑用 bioinfo_kb / 历史经验编辑用 history_errors
  • 辩论结果自动归档到 results/.../log/debate_*.json

触发场景

  • 参数选择有多个合理选项时(如分辨率 0.4 vs 0.6 vs 0.8)
  • 结果可能受方法选择影响时(如不同注释方法给出不同结果)
  • 生物结论需要验证可靠性时
  • QC 阈值不确定时(如 MT% 阈值 10% vs 15% vs 20%)

不触发场景

  • 参数有明确知识库推荐且无争议时
  • 纯计算步骤(如保存文件、读取数据)
Files

What ships with it

2 files 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. 9d ago First seen · 112 lines · 21 tokens per session scan A dee3c458af5b

Subscribe to this mod's changes

code-writer is a skill published in the GitHub repository GGbond-bo/MemOmics-Agent (19 stars, last pushed 2d ago), licensed MIT. It adds 21 tokens to every session and 1,029 once invoked, about $0.0001 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-09-03.