Agent skill · Audited from source
Refactor Safely
skill · tirth8205/code-review-graphMIT licenceAudited 6 Oct 2026 · source a9c894db76a7
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit a9c894db76a7 and found no filesystem, network or shell access and no hard-coded secrets. What it does: Plan and execute safe refactoring using dependency analysis
Cite
Cite this page
ModelsAtlas. “Refactor Safely (tirth8205/code-review-graph)”. Retrieved 6 Oct 2026. https://modelsatlas.com/skills/tirth8205/refactor-safely
Trust audit
Audit 0.4.1 · source read 6 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 | NA | 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 a9c894db76a7 · 6 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publishertirth8205 GitHub userOwner of the repository this skill is read from
- Source foldertirth8205/code-review-graph/skills/refactor-safelyThe exact folder we audited
- LicenceMITAs the repository states it
- Commit pinned for this verdicta9c894db76a7A new audit runs when the source changes
- Repository statusNot archivedLast push 17 days ago
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Plan and execute safe refactoring using dependency analysis
--- name: refactor-safely description: Plan and execute safe refactoring using dependency analysis --- ## Refactor Safely Plan a refactor from the dependency graph and apply renames from a preview. ### Steps 1. Call `refactor_tool` with `mode="suggest"` for refactoring candidates, or `mode="dead_code"` for unreferenced code. 2. For a rename, call `refactor_tool` with `mode="rename"`, `old_name` and `new_name`. Check the returned edit list before applying. 3. Call `apply_refactor_tool` with the returned `refactor_id` to apply the rename. 4. Before a large refactor, call `get_impact_radius_tool` and `get_affected_flows_tool` to see the dependents and critical paths involved. 5. Call `find_large_functions_tool` to find functions worth splitting. 6. After the change, call `detect_changes_tool` to confirm the impact matches the plan. ## Token Efficiency Rules - Call `get_minimal_context_tool(task="<your task>")` before any other graph tool. - Pass `detail_level="minimal"` wherever a tool accepts it. Use "standard" only when minimal is not enough. - Prefer a targeted `query_graph_tool` call over a broad listing call. - Budget: about five tool calls and 800 tokens of graph output per task. - Read the implementation and its tests before changing code. The graph narrows scope; it does not replace the source.
Excerpt, first 1,325 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 a9c894d
git clone https://github.com/tirth8205/code-review-graph git -C code-review-graph checkout a9c894db76a7
The author documents no install command, so this uses the repository directly. Our verdict covers commit a9c894db76a7 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
a9c894db76a7
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/tirth8205/refactor-safely/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
All coding & review skills →tirth8205/code-review-graph
Build or update the code review knowledge graph. Run this first to initialize, or let hooks keep it updated automatically.
tirth8205/code-review-graph
Systematically debug issues using graph-powered code navigation
tirth8205/code-review-graph
Navigate and understand codebase structure using the knowledge graph
tirth8205/code-review-graph
Perform a structured code review using change detection and impact
tirth8205/code-review-graph
Review only changes since last commit using impact analysis. Token-efficient delta review with automatic blast-radius detection.
tirth8205/code-review-graph
Review a PR or branch diff using the knowledge graph for full structural context. Outputs a structured review with blast-radius analysis.
Add this badge to your README
[](https://modelsatlas.com/skills/tirth8205/refactor-safely/)
<a href="https://modelsatlas.com/skills/tirth8205/refactor-safely/"><img src="https://modelsatlas.com/skills/tirth8205/refactor-safely/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Refactor Safely
What does the Refactor Safely skill do?
Is Refactor Safely safe to install?
What can Refactor Safely access on my machine?
How current is this page?
Sources
- github.com/tirth8205/code-review-graph/tree/staging/skills/refac — the audited source at commit a9c894db76a7 and every finding aboveObserved · 6 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 Refactor Safely skill do?
- Is Refactor Safely safe to install?
- What can Refactor Safely access on my machine?