Agent skill · Audited from source

code-refactoring

skill · skillcreatorai/ai-agent-skillsMIT licenceAudited 26 Oct 2026 · source a94ded2f83b0

★ 1,153pushed 34 days agoversion 1.0.0
!CAUTIONGrade B · 89/100 · 8 findings · a94ded2
1,153repo stars · whole skillcreatorai/ai-agent-skills

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.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
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

Trust score89/100!CAUTION B
0 critical1 high0 medium5 low2 info

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

LayerWhat we checkResultFindings
L0 ProvenanceRepo owner, licence, archive status, activityPASS0
L1 Static sourceSecrets, path traversal, supply chain, hidden codePASS5
L2 InstructionsPrompt injection, authority framing, hidden directivesFAIL3
L3 InventoryThe files and declarations match the sourcePASS0
L4 SandboxRun in isolation and watch behaviourSKIPPED why0

Gates applied: no behavioural pass.

Findings (8)

HIGHPrompt injectionprompt.credential_read · skills/best-practices/SKILL.md:189
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
also look at how we manage environment variables for secrets."
Why
asks the agent to read credentials
Fix
—
LOWFilesystem / pathfs.traversal · test.js:2906
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
const output = run('install "../../etc"');
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · test.js:3274
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
assertContains(workflow, '../../FOR_YOUR_AGENT.md');
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · test.js:3371
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
const result = runCommandResult(['init', '../../../tmp/escape-test'], { rawFormat: true });
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
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

Download folder ↗
npm install

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

AgentStatusMore
Claude CodeMentioned in its text, not testedSkills for Claude Code · About Claude Code
Claude DesktopMentioned in its text, not testedSkills for Claude Desktop · About Claude Desktop
CodexMentioned in its text, not testedSkills for Codex · About Codex
GitHub CopilotMentioned in its text, not testedSkills for GitHub Copilot · About GitHub Copilot
CursorMentioned in its text, not testedSkills for Cursor · About Cursor
Gemini CLIMentioned in its text, not testedSkills for Gemini CLI · About Gemini CLI
“Mentioned” means the skill’s text names the agent. We have not run it there.

Audit history

Every audit, every source change

  1. !CAUTION B 89 / 100

    first audit · source a94ded2f83b0

README badge

For maintainers · shows the latest audit

ModelsAtlas: CAUTION BMODELSATLASCAUTION · B
[![ModelsAtlas: CAUTION B](https://modelsatlas.com/skills/skillcreatorai/code-refactoring/badge.svg)](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.

Add this badge to your README

[![ModelsAtlas: CAUTION B](https://modelsatlas.com/skills/skillcreatorai/code-refactoring/badge.svg)](https://modelsatlas.com/skills/skillcreatorai/code-refactoring/)

Questions about code-refactoring

What does the code-refactoring skill do?
Universal skill installer and package manager for AI coding agents. One command, 12+ runtimes. npx ai-agent-skills
Is code-refactoring safe to install?
With care. The audit graded it B (89/100) and found 8 things worth knowing before you trust this skill, listed below with the exact line each was found on.
What can code-refactoring access on my machine?
The audit observed that it reaches the network, runs shell commands and reads or writes files. Each of those is consistent with what it says it does. Secrets in the source: none found.
Which assistants does code-refactoring work with?
Its documentation mentions claude-code, claude-desktop, codex, copilot, cursor and gemini-cli. That is what the text claims, not a compatibility test we ran.
How current is this page?
The grade is for one exact copy of the source (a94ded2f83b0), read on 2026-10-26. The repository is watched, and a new audit runs when it changes — this is the first audit.

Sources

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.