- Home
- Skills
- Workflow Automation
- autocritic
Works with the AI Agents you already use
autocritic
Enforce a self-critical, collaborative workflow that stops agents from making unapproved changes or outputting low-quality code.
Free
autocritic
Example session with this skill installed
Add a basic authentication layer to my Express API. I have the files open.
- Read your context and instructions
- Compiled the autocritic
I found that you have an existing Express setup in src/app.js but no middleware for handling authentication or user sessions.
I plan to
- Install
bcryptjsandjsonwebtokenfor secure hashing and token management. - Create a
src/middleware/auth.jsfile to verify JWTs. - Update the
POST /loginroute to validate credentials and return a token. - Add the auth middleware to the protected
/api/v1/dashboardroute.
What do you think?
[Refinement Note: Switched from jsonwebtoken.sign to a dedicated utility function to ensure consistent expiration and algorithm settings. Added a check for the JWT_SECRET environment variable.]
Next steps
- Approve the plan to begin file creation.
- Provide the preferred token expiration duration.
- Confirm if you have a
.envfile ready for the secret key.
Connects securely to your tools. The creator never sees your data.
About this skill
Agents often produce code too quickly, ignore architectural trade-offs, or clutter the terminal with verbose commentary. This skill enforces a partner-like collaboration model where the agent investigates first, checks in before any modification, and performs an invisible self-review to ensure high-quality output without the "theater" of fake tests.
What it does
- Ambiguity classification categorizes requests to decide whether to stop and ask for clarity or proceed with best-practice assumptions.
- Pre-modification check-ins ensure the agent never edits files or creates scaffolding without first sharing a plan for user approval.
- Invisible self-review runs an internal senior-engineer perspective shift to catch edge cases, security flaws, and logic gaps before delivery.
- State persistence maintains a
.project/directory to track session goals, architectural decisions, and deferred uncertainties. - Refinement reporting provides a concise note only when substantive corrections were made during the internal review process.
How it works
- Analyze the request for ambiguity and either ask up to three targeted questions or proceed to investigation.
- Investigate the codebase or environment freely without needing permission to read files or run diagnostics.
- Check in by presenting a concrete action plan and waiting for user confirmation before modifying any project state.
- Execute and review the task internally, applying domain-specific lenses (Code, Content, or Architecture) to prune errors.
Frameworks & tools
This is a model-agnostic behavioral layer designed for terminal-based AI environments like Claude Code, Gemini CLI, Aider, and Cursor. It works across any programming language or stack by governing the agent's interaction logic rather than specific syntax.
Why this beats prompting it yourself
Prompting an agent to "be careful" or "check in" is often ignored during long sessions. This skill provides a rigid execution framework with specific ambiguity routing and a mandated internal checklist that forces a perspective shift, preventing the agent from agreeing with its own initial mistakes.
Use cases
- Preventing agents from refactoring the wrong files in large, complex repositories.
- Ensuring architectural decisions are approved before a multi-file migration begins.
- Stripping out "AI fluff" and fake test blocks from CLI-based coding sessions.
- Maintaining a durable log of technical debt and deferred questions in the
.project/folder.
Known limitations
The skill requires the agent to have file-system access to maintain project state. Performance may degrade if the model lacks an extended reasoning trace for the internal review step.
How to use
Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free forever
No account required to browse
Trust & safety
Security scanned
Verified clean 5 days ago
- Free to download with an account