Skip to content
Back to skills

Astra Codex Simplify

ASecurity

Simplify a finished Astragentic increment on the Codex runtime after review, without changing its behavior or expanding scope.

  • 4 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 9, 2026
ai-agents

Security analysis

A100/100

Scanned November 12, 2026

npx -y skills add thientranhung/astragentic --skill astra-codex-simplify --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Astra Codex Simplify?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Astra Codex Simplify
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/thientranhung-astra-codex-simplify/badge)](https://www.skillsdirectory.com/skills/thientranhung-astra-codex-simplify)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: astra-codex-simplify
description: "Simplify a finished Astragentic increment on the Codex runtime after review, without changing its behavior or expanding scope."
---

# Simplify the finished increment

Codex has no built-in simplify, so this skill is the pass. It covers the increment only: pin the
brief's base and current head/tree, and read that diff and the review findings.

## Before changing anything

For each candidate, know what the code is responsible for, what calls it, and which tests define
it. If you cannot say why it was written that way, read further or leave it alone.

## What to look for

- **Structure**: deep nesting, a function doing several jobs, nested ternaries, boolean flag
  arguments, the same condition repeated.
- **Names**: generic, abbreviated or misleading; a comment restating the line below it. Keep
  comments that explain why.
- **Redundancy**: duplicated logic, dead code, a wrapper that adds nothing, an abstraction with one
  user and no second in sight.

Match the project's conventions. Clear beats short: do not inline a helper whose name carries a
concept, or merge two simple functions into one complicated one.

## Apply

One change at a time inside the authorized write-set, with no new dependency; run the covering
tests after each. Behavior stays identical: inputs, outputs, errors, side effects and their order.
If a test must change for a simplification to pass, that simplification changed behavior: revert it.
Removing or weakening error handling is never a simplification.

Commit what remains as `simplify(increment): <what changed>` and push, with the provenance line
on its own line in the body, copied exactly: `Pass: $astra-codex-simplify`. That line is the Codex
form of the Claude lane's `Pass: Skill(skill: "simplify")`; the marker checker accepts either and
refuses any other text (6.1.2). A pass that changes nothing
is valid and creates no commit: record that in the report. Review is not re-fired for these changes.
Record what was inspected, what changed and why, command results and the
final artifact identity. Loading this skill is not a receipt.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.