Agent skill · Audited from source
Content Refinement Agent
skill · Ar9av/PaperOrchestraNOASSERTION licenceAudited 14 Oct 2026 · source 6a03bc20d0c1
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 6a03bc20d0c1 and found no filesystem, network or shell access and no hard-coded secrets. What it does: Step 5 of the PaperOrchestra pipeline (arXiv:2604.05018). Iteratively refine drafts/paper.tex by simulating peer review and applying targeted revisions, with strict accept/revert halt rules, deterministic 0-100 decision…
Cite
Cite this page
ModelsAtlas. “Content Refinement Agent (Ar9av/PaperOrchestra)”. Retrieved 14 Oct 2026. https://modelsatlas.com/skills/ar9av/content-refinement-agent
Trust audit
Audit 0.4.1 · source read 14 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | PASS | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (0)
No findings at any severity. We re-audit when the source changes.
Audit 0.4.1 · source sha 6a03bc20d0c1 · 14 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- PublisherAr9av GitHub userOwner of the repository this skill is read from
- Source folderAr9av/PaperOrchestra/skills/content-refinement-agentThe exact folder we audited
- LicenceNOASSERTIONAs the repository states it
- Commit pinned for this verdict6a03bc20d0c1A new audit runs when the source changes
- Repository statusNot archivedLast push 2 days ago
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Step 5 of the PaperOrchestra pipeline (arXiv:2604.05018). Iteratively refine drafts/paper.tex by simulating peer review and applying targeted revisions, with strict accept/revert halt rules, deterministic 0-100 decision…
---
name: content-refinement-agent
description: Step 5 of the PaperOrchestra pipeline (arXiv:2604.05018). Iteratively refine drafts/paper.tex by simulating peer review and applying targeted revisions, with strict accept/revert halt rules, deterministic 0-100 decision bands (Accept/Minor/Major/Reject) that drive a target-met early stop, and a Devil's Advocate concession-threshold guard that blocks acceptance on unresolved critical findings. Maintains a worklog and snapshots each iteration so revert is real, not symbolic. TRIGGER when the orchestrator delegates Step 5 or when the user asks to "refine the draft", "iterate on the paper", or "run peer review on this paper".
data_access_level: verified_only
---
# Content Refinement Agent (Step 5)
Faithful implementation of the Content Refinement Agent from PaperOrchestra
(Song et al., 2026, arXiv:2604.05018, §4 Step 5, App. F.1 pp. 49–51).
**Cost: ~5–7 LLM calls** (App. B), typically ~3 refinement iterations, each
consisting of one reviewer call and one revision call.
The paper highlights this step as one of the largest contributors to overall
quality: refinement alone accounts for +19% (CVPR) and +22% (ICLR) absolute
acceptance-rate improvement (Fig. 4). Get this step right.
## Inputs
- `workspace/drafts/paper.tex` — output of Step 4
- `workspace/inputs/conference_guidelines.md`
- `workspace/inputs/experimental_log.md` — used as ground truth for the
hallucination check
- `workspace/citation_pool.json` / `workspace/refs.bib` — the allowed
bibliography
## Outputs
- `workspace/refinement/iter1/`, `iter2/`, `iter3/` — per-iteration snapshots
containing `paper.tex`, `paper.pdf`, `review.json`, `score.json`
- `workspace/refinement/worklog.json` — append-only history of decisions
- `workspace/final/paper.tex` and `workspace/final/paper.pdf` — copy of the
best accepted snapshot
## The refinement loop
```
prev_score = score(paper.tex) # baseline from initial draft
snapshot iter0/
for iter in 1..ITER_CAP (default 3):
1. simulate_review(paper.tex) → review.json
(uses `references/reviewer-rubric.md` rubric)
2. apply_revision(paper.tex, review.json) → new_paper.tex
(uses verbatim Refinement Agent prompt at `references/prompt.md`)
3. snapshot iter<N>/ with new_paper.tex, review.json
latexmk -pdf new_paper.tex → iter<N>/paper.pdf
4. score(new_paper.tex) → curr_score
5. decide via score_delta.py:
- if curr.overall > prev.overall: ACCEPT
- elif curr.overall == prev.overall and net_subaxis ≥0: ACCEPT
- else: REVERT
6. apply_worklog.py to append the decision
7. if REVERT or no actionable weaknesses or iter == ITER_CAP: HALT
paper.tex ← new_paper.tex (only on ACCEPT)
prev_score ← curr_score
cp <best iter>/paper.tex → workspace/final/paper.tex
```
The "best" snapshot at HALT is the one with the highest accepted overall
score. On a REVERT halt, the best is the iteration immediately before the
revert.
## Step-by-step
### 0. Pre-refinement integrity gate
Before snapshotting or scoring the initial draft, run two gates in order:
**Gate A — AI failure modes** (load `references/ai-failure-modes.md`, runs once):
Load `references/ai-failure-modes.md` (which points to `skills/shared/ai_failure_modes.md`).
Run all 7 checks against the draft and the inputs. This gate runs **once only**,
at the start of iteration 1.
- CONFIRMED failure → write HALT entry to worklog.json, report to user, stop.
- SUSPECTED failure → add WARNING comment to paper.tex, log in worklog.json, continue.
- No failures → proceed.
**Gate B — Claim-evidence provenance** (runs once, WARN gate):
```bash
python skills/paper-orchestra/scripts/claim_evidence_gate.py \
--paper workspace/drafts/paper.tex \
--log workspace/inputs/experimental_log.md \
--out workspace/claim_evidence_report.json \
--out-md workspace/claim_evidence_map.md
```
The gate sorts every number in the draft into `supported` (the value is in
`experimental_log.md`), `attributed` (the sentence carries a citation or a
prior-work cue), or `needs evidence` (neither). Only the third category is a
finding. See `references/claim-evidence-map.md`.
Exit 0 → PASS, proceed normally.
Exit 1 → WARN: unsupported numeric claims found. Log in worklog.json as:
`{gate: "claim_evidence", status: "WARN", unsupported_count: N, report: "workspace/claim_evidence_report.json"}`
Pass the `needs evidence` rows of `workspace/claim_evidence_map.md` to the
revision agent in Step 3 as an additional instruction: "The following values
appear in the paper but cannot be corroborated in experimental_log.md and
carry no citation — restate them from logged values, attribute them, or remove
the claim. Do not weaken the sentence into vagueness to make the number
defensible." A row that survives two iterations should be deleted rather than
reworded again.
Do NOT halt on Gate B warnings; the revision agent will address them.
**Gate C — Reverse outline** (runs once, advisory):
```bash
python skills/content-refinement-agent/scripts/reverse_outline.py \
--paper workspace/drafts/paper.tex \
--out workspace/reverse_outline.md \
--json workspace/reverse_outline.json
```
Strips the draft to one line per paragraph — its topic sentence — and flags
paragraphs with no topic sentence, two messages, or a citation dump. Read
`workspace/reverse_outline.md` before the first reviewer call and pass it into
the reviewer call as the input for the **Logical Flow** axis. Structural
findings enter the revision agenda as *reorder / merge / split / cut*
instructions; sentence-level rewriting cannot fix a sequencing problem, and
iterations spent polishing a misordered section still count against the budget.
See `references/reverse-outline.md`.
**Gate D — Read research brief** (every run, no exit code):
If `workspace/research_brief.md` exists, read it before all revExcerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 6a03bc2
git clone https://github.com/Ar9av/PaperOrchestra git -C PaperOrchestra checkout 6a03bc20d0c1
The author documents no install command, so this uses the repository directly. Our verdict covers commit 6a03bc20d0c1 only.
Works in
The author has not said which agents this skill supports, and we have not tested it in any.
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
6a03bc20d0c1
Similar skills
All research skills →Ar9av/PaperOrchestra
Pre-pipeline aggregator that scans AI agent cache directories (.claude, .cursor, .antigravity, .openclaw) or any user-specified directory for experimentation logs, extracts insights and numeric results, and formats them…
Ar9av/PaperOrchestra
Step 3 of the PaperOrchestra pipeline (arXiv:2604.05018). Execute the literature search strategy from outline.json — discover candidate papers via web search, verify them through Semantic Scholar (Levenshtein > 70 fuzzy…
Ar9av/PaperOrchestra
Step 1 of the PaperOrchestra pipeline (arXiv:2604.05018). Convert (idea.md, experimental_log.md, template.tex, conference_guidelines.md) into a strict JSON outline containing a plotting plan, literature search plan…
Ar9av/PaperOrchestra
Run the four paper-quality autoraters from PaperOrchestra (arXiv:2604.05018, App. F.3) — Citation F1 (P0/P1 partition + Precision/Recall/F1), Literature Review Quality (6-axis 0-100 with anti-inflation rules), SxS…
Ar9av/PaperOrchestra
Orchestrate the full PaperOrchestra (Song et al., 2026, arXiv:2604.05018) five-agent pipeline to turn unstructured research materials (idea, experimental log, LaTeX template, conference guidelines, optional figures)…
Ar9av/PaperOrchestra
Reverse-engineer raw materials (Sparse idea, Dense idea, experimental log) from an existing AI research paper to build a benchmark case for evaluating paper-writing pipelines. Replicates the PaperWritingBench dataset…
Questions about Content Refinement Agent
What does the Content Refinement Agent skill do?
Is Content Refinement Agent safe to install?
What can Content Refinement Agent access on my machine?
How current is this page?
Sources
- github.com/Ar9av/PaperOrchestra/tree/main/skills/content-refinem — the audited source at commit 6a03bc20d0c1 and every finding aboveObserved · 14 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Content Refinement Agent skill do?
- Is Content Refinement Agent safe to install?
- What can Content Refinement Agent access on my machine?