# Review Last

> Open the last saved code review in the browser

- **Type:** Skill
- **Install:** `agentstack add skill-putchi-agentic-code-reviewer-skill-review-last`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [putchi](https://agentstack.voostack.com/s/putchi)
- **Installs:** 0
- **Category:** [Web & Browser](https://agentstack.voostack.com/c/web-and-browser)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [putchi](https://github.com/putchi)
- **Source:** https://github.com/putchi/agentic-code-reviewer-skill/tree/main/skills/review-last

## Install

```sh
agentstack add skill-putchi-agentic-code-reviewer-skill-review-last
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Open Last Review

Find and open the most recent agentic code review.

## Steps

1. Find the most recent run directory:
   ```bash
   ls -td .claude/review-runs/* 2>/dev/null | head -1
   ```

2. Find the most recent legacy findings JSON:
   ```bash
   ls -t /tmp/claude-code-review-*.json 2>/dev/null | head -1
   ```

3. Find the most recent saved markdown:
   ```bash
   ls -t docs/code-reviews/*.md 2>/dev/null | head -1
   ```

4. If a run directory with `synthesis.json` exists, launch the review server:
   ```bash
   SKILL_ROOT="${CLAUDE_PLUGIN_ROOT:-$HOME/.codex/skills/agentic-code-reviewer}"
   LAST_RUN=$(ls -td .claude/review-runs/* 2>/dev/null | head -1)
   node "${SKILL_ROOT}/server/review-server.js" \
     --run-dir "$LAST_RUN" \
     --session "$(basename "$LAST_RUN")" \
     --save-dir "$(pwd)/docs/code-reviews"
   ```
   The server opens the browser automatically and blocks until the user takes an action.

5. If no run directory exists but a legacy JSON file exists, launch the review server:
   ```bash
   SKILL_ROOT="${CLAUDE_PLUGIN_ROOT:-$HOME/.codex/skills/agentic-code-reviewer}"
   LAST_JSON=$(ls -t /tmp/claude-code-review-*.json 2>/dev/null | head -1)
   node "${SKILL_ROOT}/server/review-server.js" \
     --session last \
     --findings-file "$LAST_JSON" \
     --save-dir "$(pwd)/docs/code-reviews"
   ```
   The server opens the browser automatically and blocks until the user takes an action.

6. If no run directory or JSON exists but a markdown file exists, open it:
   - macOS: `open `
   - Linux: `xdg-open `

7. If none exists, print: `No saved review found.`

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [putchi](https://github.com/putchi)
- **Source:** [putchi/agentic-code-reviewer-skill](https://github.com/putchi/agentic-code-reviewer-skill)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-putchi-agentic-code-reviewer-skill-review-last
- Seller: https://agentstack.voostack.com/s/putchi
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
