med-paper-assistant: Skill for Claude Code

.claude/skills/code-reviewer/SKILL.md

code-reviewer is a skill for Claude Code from u9401066/med-paper-assistant. It costs 32 tokens per session (370 once invoked), scanned A, original, Apache-2.0.

A code-review checklist and workflow covering code quality, security, performance, and type or lint checks. It includes searches for issues such as unsafe SQL construction, cross-site scripting, exposed secrets, and repeated database queries.

In plain words
What is it for?
Use it to review Python code, search for security patterns, run Ruff and mypy, inspect errors, and summarize findings with recommendations and scores.
Why use it?
It gives a structured way to look for common defects and security risks during review. It also includes commands for checking style and type errors.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is u9401066/med-paper-assistant's own configuration. It tells Claude Code how to work on med-paper-assistant itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything med-paper-assistant configures →

Reuse

Borrowing it

Nothing to install: this file belongs to u9401066/med-paper-assistant. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/u9401066/med-paper-assistant/master/.claude/skills/code-reviewer/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/u9401066/med-paper-assistant

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-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/skills/u9401066/med-paper-assistant/code-reviewer.svg)](https://agentmods.dev/skills/u9401066/med-paper-assistant/code-reviewer)
Your own site
<a href="https://agentmods.dev/skills/u9401066/med-paper-assistant/code-reviewer"><img src="https://agentmods.dev/badge/skills/u9401066/med-paper-assistant/code-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 370 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.00032 $0.00370
Opus 5 $0.00016 $0.00185
Sonnet 5 $0.00006 $0.00074
Haiku 4.5 $0.00003 $0.00037

Measured 8d ago against content hash 75dbb1a0a21c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

code-reviewer 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 8d 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.

.claude/skills/code-reviewer/SKILL.md · 39 lines

What it actually says

程式碼審查技能

觸發:review、審查程式碼、檢查、看一下、有問題嗎、安全

工具:read_filegrep_searchget_errorsrun_in_terminal("ruff check .")run_in_terminal("mypy .")


審查項目

程式碼品質

函數長度(grep_search("def "))、命名清晰度、DRY 原則(搜尋重複)、複雜度(巢狀/分支)

安全性

風險 grep 模式
SQL 注入 execute.*%s|f".*SELECT
XSS innerHTML|dangerouslySetInnerHTML
敏感資料 password|secret|api_key
硬編碼密碼 password.*=.*['"]

效能

N+1 查詢(迴圈內 DB 呼叫)、不必要迴圈

工作流

  1. ruff check src/ + mypy src/ + get_errors()
  2. read_file 目標檔案
  3. grep_search 安全風險模式
  4. 彙整報告(優點 / 建議 / 品質+安全+效能評分 0-10)
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. 8d ago First seen · 39 lines · 32 tokens per session scan A 75dbb1a0a21c

Subscribe to this mod's changes

code-reviewer is a skill published in the GitHub repository u9401066/med-paper-assistant (12 stars, last pushed 7d ago), licensed Apache-2.0. It adds 32 tokens to every session and 370 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

spec-audit

Adversarial review of a freshly-written or materially-rewritten SPEC, before any code is written. Runs an independent reviewer against the SPEC's design and the spirit-check agent against the user's verbatim ask, in one pass. Auto-fired by /spec; also callable standalone after any SPEC edit. Emits the spec-audit…

Ashkaan/contextium · 77 tokens

implement-audit

Adversarial review of freshly-built code — find what was missed, what's inconsistent, what breaks. The single code reviewer for the loop, and it runs exactly once per session. Auto-fired by /implement; standalone-callable after any substantial ad-hoc change. Emits the implement-audit: commit trailer the git hook…

Ashkaan/contextium · 71 tokens

plan-review-architecture

Architecture-dimension reviewer for written plans. Use when running plan-review or directly when an architectural review is wanted. Activate for keywords like "architecture review", "data flow", "failure modes", "rollback", "edge cases", "test matrix". Scores 5 sub-dimensions 0-10, produces ranked fixes. Always cite…

duthaho/claudekit · 87 tokens

code-review-loop

Use when opening a PR for review or when receiving review feedback. Activate for keywords like "code review", "PR review", "request review", "review feedback", "address comments", "reviewer said". Covers both ends of the loop: preparing a reviewable PR and acting on feedback rigorously. Always engage with every…

duthaho/claudekit · 79 tokens

nav-simplify

Simplify and refine code for clarity, consistency, and maintainability while preserving all functionality. Focuses on recently modified code. Auto-invoke after implementation skills or on-demand.

alekspetrov/navigator · 40 tokens

proactive-analysis

Automatically run a tech-debt scan before opening a pull request, after large refactors, or when the user asks for a code review — surface actionable findings without being asked.

PierreJanineh/TechDebtMCP · 39 tokens