Agent skill · Audited from source
code-refactoring
skill · skillcreatorai/ai-agent-skillsMIT licenceAudited 26 Oct 2026 · source a94ded2f83b0
Is it safe? With care — CAUTION, grade B (89/100). We read this skill's source at commit a94ded2f83b0 and observed filesystem, network and shell access and no hard-coded secrets. The audit raised 8 findings, 1 critical or high. What it does: Clarify requirements before implementing. Do not use automatically, only when invoked explicitly.
Cite
Cite this page
ModelsAtlas. “code-refactoring (skillcreatorai/ai-agent-skills)”. Retrieved 26 Oct 2026. https://modelsatlas.com/skills/skillcreatorai/code-refactoring
Trust audit
Audit 0.4.1 · source read 26 Oct 2026
CAUTION means the audit found things worth knowing before you trust this skill. Grade B is shared by 13,985 of 14,816 audited skills.
What the source does
- FilesystemDeclared9 observations
- NetworkDeclared2 observations
- ShellDeclared5 observations
- DependenciesNot pinnedSome versions float
- 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 | 5 |
L2 Instructions | Prompt injection, authority framing, hidden directives | FAIL | 3 |
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 (8)
HIGHPrompt injectionprompt.credential_read · skills/best-practices/SKILL.md:189
also look at how we manage environment variables for secrets."
- Why
- asks the agent to read credentials
- Fix
- —
LOWFilesystem / pathfs.traversal · test.js:2906
const output = run('install "../../etc"');- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · test.js:3274
assertContains(workflow, '../../FOR_YOUR_AGENT.md');
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · test.js:3371
const output = runArgs(['install', 'owner/repo/../../../etc/passwd', '--dry-run']);
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · test.js:4442
const result = runCommandResult(['init', '../../../tmp/escape-test'], { rawFormat: true });- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
htm, ink, ink-text-input, react, yaml
- Why
- 5 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
INFOPrompt injectionprompt.authority_framing · skills/best-practices/references/best-practices-guide.md:266
You are a senior security engineer. Review code for:
- Why
- No further detail recorded for this rule.
- Fix
- —
INFOPrompt injectionprompt.credential_read · skills/best-practices/references/best-practices-guide.md:56
also look at how we manage environment variables for secrets.
- Why
- asks the agent to read credentials
- Fix
- —
Audit 0.4.1 · source sha a94ded2f83b0 · 26 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publisherskillcreatorai GitHub userOwner of the repository this skill is read from
- Source folderskillcreatorai/ai-agent-skillsThe exact folder we audited
- LicenceMITAs the repository states it
- Commit pinned for this verdicta94ded2f83b0A new audit runs when the source changes
- Repository statusNot archivedLast push 34 days ago
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Clarify requirements before implementing. Do not use automatically, only when invoked explicitly.
--- name: ask-questions-if-underspecified description: Clarify requirements before implementing. Do not use automatically, only when invoked explicitly. version: 4.1.0 --- # Ask Questions If Underspecified ## Goal Ask the minimum set of clarifying questions needed to avoid wrong work; do not start implementing until the must-have questions are answered (or the user explicitly approves proceeding with stated assumptions). ## Workflow ### 1) Decide whether the request is underspecified Treat a request as underspecified if after exploring how to perform the work, some or all of the following are not clear: - Define the objective (what should change vs stay the same) - Define "done" (acceptance criteria, examples, edge cases) - Define scope (which files/components/users are in/out) - Define constraints (compatibility, performance, style, deps, time) - Identify environment (language/runtime versions, OS, build/test runner) - Clarify safety/reversibility (data migration, rollout/rollback, risk) If multiple plausible interpretations exist, assume it is underspecified. ### 2) Ask must-have questions first (keep it small) Ask 1-5 questions in the first pass. Prefer questions that eliminate whole branches of work. Make questions easy to answer: - Optimize for scannability (short, numbered questions; avoid paragraphs) - Offer multiple-choice options when possible - Suggest reasonable defaults when appropriate (mark them clearly as the default/recommended choice; bold the recommended choice in the list, or if you present options in a code block, put a bold "Recommended" line immediately above the block and also tag defaults inside the block) - Include a fast-path response (e.g., reply `defaults` to accept all recommended/default choices) - Include a low-friction "not sure" option when helpful (e.g., "Not sure - use default") - Separate "Need to know" from "Nice to know" if that reduces friction - Structure options so the user can respond with compact decisions (e.g., `1b 2a 3c`); restate the chosen options in plain language to confirm ### 3) Pause before acting Until must-have answers arrive: - Do not run commands, edit files, or produce a detailed plan that depends on unknowns - Do perform a clearly labeled, low-risk discovery step only if it does not commit you to a direction (e.g., inspect repo structure, read relevant config files) If the user explicitly asks you to proceed without answers: - State your assumptions as a short numbered list - Ask for confirmation; proceed only after they confirm or correct them ### 4) Confirm interpretation, then proceed Once you have answers, restate the requirements in 1-3 sentences (including key constraints and what success looks like), then start work. ## Question templates - "Before I start, I need: (1) ..., (2) ..., (3) .... If you don't care about (2), I will assume ...." - "Which of these should it be? A) ... B) ... C) ... (pick one)" - "What would you consider 'done'? For example: ..." - "Any constraints I must follow (versions, performance, style, deps)? If none, I will target the existing project defaults." - Use numbered questions with lettered options and a clear reply format ```text 1) Scope? a) Minimal change (default) b) Refactor while touching the area c) Not sure - use default 2) Compatibility target? a) Current project defaults (default) b) Also support older versions: <specify> c) Not sure - use default Reply with: defaults (or 1a 2a) ``` ## Anti-patterns - Don't ask questions you can answer with a quick, low-risk discovery read (e.g., configs, existing patterns, docs). - Don't ask open-ended questions if a tight multiple-choice or yes/no would eliminate ambiguity faster. --- *Originally created by [@thsottiaux](https://x.com/thsottiaux)*
Excerpt, first 3,775 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 a94ded2
npm install
git clone https://github.com/skillcreatorai/ai-agent-skills git -C ai-agent-skills checkout a94ded2f83b0
Commands as the repository documents them: shown, never run by us. Our verdict covers commit a94ded2f83b0 only.
Works in which agents?
What its own text says, not a test
| Agent | Status | More |
|---|---|---|
| Claude Code | Mentioned in its text, not tested | Skills for Claude Code · About Claude Code |
| Claude Desktop | Mentioned in its text, not tested | Skills for Claude Desktop · About Claude Desktop |
| Codex | Mentioned in its text, not tested | Skills for Codex · About Codex |
| GitHub Copilot | Mentioned in its text, not tested | Skills for GitHub Copilot · About GitHub Copilot |
| Cursor | Mentioned in its text, not tested | Skills for Cursor · About Cursor |
| Gemini CLI | Mentioned in its text, not tested | Skills for Gemini CLI · About Gemini CLI |
Audit history
Every audit, every source change
- !CAUTION B 89 / 100
first audit · source
a94ded2f83b0
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/skillcreatorai/code-refactoring/)
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 →skillcreatorai/ai-agent-skills
Automatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, customer-friendly release notes. Turns hours of manual…
skillcreatorai/ai-agent-skills
Writing effective code documentation - API docs, README files, inline comments, and technical guides. Use for documenting codebases, APIs, or writing developer guides.
skillcreatorai/ai-agent-skills
Assists in writing high-quality content by conducting research, adding citations, improving hooks, iterating on outlines, and providing real-time feedback on each section. Transforms your writing process from solo…
skillcreatorai/ai-agent-skills
Database schema design, optimization, and migration patterns for PostgreSQL, MySQL, and NoSQL databases. Use for designing schemas, writing migrations, or optimizing queries.
skillcreatorai/ai-agent-skills
Building applications with Large Language Models - prompt engineering, RAG patterns, and LLM integration. Use for AI-powered features, chatbots, or LLM-based automation.
skillcreatorai/ai-agent-skills
Clarify requirements before implementing. Do not use automatically, only when invoked explicitly.
Add this badge to your README
[](https://modelsatlas.com/skills/skillcreatorai/code-refactoring/)
<a href="https://modelsatlas.com/skills/skillcreatorai/code-refactoring/"><img src="https://modelsatlas.com/skills/skillcreatorai/code-refactoring/badge.svg" alt="ModelsAtlas: CAUTION B"></a>
Questions about code-refactoring
What does the code-refactoring skill do?
Is code-refactoring safe to install?
What can code-refactoring access on my machine?
Which assistants does code-refactoring work with?
How current is this page?
Sources
- github.com/skillcreatorai/ai-agent-skills — the audited source at commit a94ded2f83b0 and every finding aboveObserved · 26 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 code-refactoring skill do?
- Is code-refactoring safe to install?
- What can code-refactoring access on my machine?