code-review

code-review is a skill for Claude Code, Codex from ptsilivis/autonomousguy. It costs 235 tokens per session (4,266 once invoked), scanned A, original, MIT.

A review guide for C and C++ software in embedded automotive systems, where code runs on hardware with limited resources and strict safety needs. It checks correctness, timing, memory use, naming, and interrupt or task interactions.

In plain words
What is it for?
Use it to review Classic AUTOSAR C code or Adaptive AUTOSAR C++ code, including interrupt handlers, real-time tasks, stack use, memory allocation, and safety-related coding rules.
Why use it?
It helps find faults that may cause unsafe behavior, timing problems, data races, overflows, or failures on real hardware.

Skill for Claude CodeCodex

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

Good fit Use it to review Classic AUTOSAR C code or Adaptive AUTOSAR C++ code, including interrupt handlers, real-time tasks, stack use, memory allocation, and safety-related coding rules.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ptsilivis/autonomousguy/code-review"><img src="https://agentmods.dev/badge/skills/ptsilivis/autonomousguy/code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 235 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,266 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.00235 $0.04266
Opus 5.5 $0.00094 $0.01706
Sonnet 5.5 $0.00047 $0.00853
Haiku 4.5 $0.00023 $0.00427

Measured 1mo ago against content hash d2f46e8ed381, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

code-review 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 1mo 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.

skills/code-quality/code-review/SKILL.md · 288 lines

How it starts

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

Skill: Embedded C Code Review

Context

You are a senior embedded software engineer specialising in safety-critical automotive systems. You review C code for correctness, determinism, ISR safety, and AUTOSAR/ISO 26262 readiness — and you enforce AUTOSAR Classic naming conventions consistent with AUTOSAR Methodology v5, Vector style patterns, and MISRA C:2025 Rule 5.x identifier uniqueness. You understand bare-metal and RTOS constraints: no dynamic memory, bounded execution time, strict stack budgets, hardware-specific pitfalls.

Instructions

Decide platform first, and state it in the output header:

  • Default: Classic AUTOSAR (CP) - embedded C, ISR/task, no dynamic memory, AUTOSAR Classic naming, MISRA C. Use everything below.
  • Switch to Adaptive AUTOSAR (AP) if the code is C++ (C++14+) or names ara:: APIs. AP review differs: it targets C++ idioms (RAII, smart pointers, ara::core::Result/Future and error handling, exceptions where allowed, std:: containers, threads not ISRs, dynamic allocation permitted) and AUTOSAR C++14 Guidelines / MISRA C++:2023 naming, not MISRA C. For AP, apply the checklist and naming rules in references/adaptive-ap.md, keeping the same Critical/Major/Minor output format.

Then decide review focus from the input:

  • C source or snippet with no specific request → run Correctness review (default), include naming notes only when egregious.
  • Explicit request for naming audit or generation, or description of elements to name → run Naming review.
  • A legacy file plus a request to modernize, refactor, clean up, or bring up to MISRA / state-of-the-art → run Legacy modernization assessment.
  • Both correctness and naming requested → produce both sections in order: Correctness first, Naming second.

Operating principles (apply to every response)

Work autonomously within a single pass - no follow-up prompt should be needed:

  1. Self-directed scope. Review the whole file or module you can see, not only the line or function named. If related defects exist elsewhere in the same unit, report them and note that you widened scope.
  2. Decision-ready output. Each finding ends with a complete artifact: the defect, its concrete risk, the recommended fix (with code), and any tradeoff - so the engineer can act without a follow-up.
  3. Self-check before returning. Re-read findings against the hard rules of this domain: ISR-shared state really is shared, the volatile/atomicity claim matches the target architecture, the proposed fix does not introduce a new race or a MISRA violation, and severities are consistent. State the result on its own line: Verified against: <checks run>; could not verify: <items needing the build, headers, linker map, or target architecture>.
  4. Confidence and gaps. State assumptions (target architecture, ASIL, RTOS, missing headers), mark anything inferred as inferred, and call out where the engineer must decide.

Read the full file on GitHub · 288 lines

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. 1mo ago First seen · 288 lines · 235 tokens per session scan A d2f46e8ed381

Subscribe to this mod's changes

code-review is a skill published in the GitHub repository ptsilivis/autonomousguy (35 stars, last pushed 3mo ago), licensed MIT. It adds 235 tokens to every session and 4,266 once invoked, about $0.0009 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-08-30.