# aveyx

> Enforce AST-level engineering guardrails and security gates for AI coding agents.

aveyx is a free AI agent skill on Agensi by Amanulla Shaikh, in LLM Ops. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Amanulla Shaikh](https://www.agensi.io/creators/amanulla-shaikh)
- Category: [LLM Ops](https://www.agensi.io/skills/llm-ops)
- Version: 1.0
- Last updated: 2026-11-21
- Security: scan passed (2026-11-21); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/aveyx
- Tags: llm-ops, ast, security, git, babel, javascript

## About this skill

AI agents often take shortcuts that compromise codebase integrity, such as skipping tests to force a pass or leaking secrets in logs. Aveyx stops these regressions by enforcing deterministic engineering guardrails directly within the agent's execution flow.

### What it does
- **Blast-radius analysis** calculates the transitive dependency graph to identify every file and test suite affected by a proposed change.
- **Context compaction** uses Babel AST parsing to strip function bodies while preserving types and signatures, maximizing token efficiency.
- **Anti-tamper gating** blocks agents from using `it.skip`, deleting assertions, or weakening `package.json` test scripts.
- **Security auditing** scans for SQL injection, React `useEffect` leaks, and obfuscated secrets like JWTs or private keys.
- **State versioning** creates local snapshots of working states, including `.env` files, allowing for immediate rollbacks if a refactor fails.

### How it works
1. **Initialize** the environment using `npx aveyx init` and verify the setup with the `doctor` command.
2. **Analyze impact** by running `aveyx impact <file>` before any edit to see which downstream modules require re-testing.
3. **Guard code** during the PR process using `aveyx review --strict` to catch illegal test modifications or security vulnerabilities.
4. **Automate enforcement** by installing the 4-tier pre-push git hooks via `aveyx install-hooks`.

### Frameworks & tools
Built for Node.js environments using Babel for multi-language AST parsing. Integrates with Git for versioned checkpoints and supports OASIS SARIF 2.1.0 for standardized security reporting. Native MCP server support is included for Claude Code, Cursor, and Windsurf.

### Why this beats prompting it yourself
Prompting an agent to "not skip tests" is easily ignored when the agent hits a complex bug. Aveyx moves these rules from soft instructions to hard AST-level gates that physically block the agent from committing non-compliant code.

### Use cases
- Preventing agents from bypassing failing CI checks during complex refactors.
- Reducing token costs by providing high-signal, body-less code summaries.
- Scanning for leaked credentials and injection vulnerabilities before every push.
- Mapping dependencies in legacy monorepos to prevent silent regressions.

### Known limitations
Requires a Node.js environment to run AST tools via npx. Impact analysis is most effective on ESM and CJS projects, support for other module systems may vary.

## Requires

- Node.js

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the aveyx skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does Aveyx prevent AI agents from taking shortcuts compared to just using system prompts?

Aveyx acts as a deterministic layer that analyzes code at the Abstract Syntax Tree (AST) level, physically blocking agents from committing shortcuts like 'it.skip' or weakened test scripts that simple prompting can't reliably prevent.

### Which AI coding agents and development environments are supported?

Aveyx is designed for Node.js environments (ESM/CJS) and includes native Model Context Protocol (MCP) support, making it compatible with leading AI IDEs like Claude Code, Cursor, and Windsurf.

### What is the benefit of the 'impact' command during an agentic workflow?

The 'impact' command performs blast-radius analysis by mapping transitive dependencies, allowing the agent to see exactly which downstream files and test suites are affected by a change before it is even made.

### How complex is the installation process for a new project?

Setup is straightforward: use 'npx aveyx init' to prepare your environment, verify with the 'doctor' command, and then install the 4-tier pre-push git hooks to automate security and quality enforcement.

### How does this skill help reduce LLM token consumption?

Aveyx uses Babel AST parsing to strip function bodies while retaining types and signatures, allowing you to feed the agent the full structural context of a codebase without wasting tokens on implementation details.

### What exactly is included in the Aveyx skill package?

The purchase includes the core Aveyx CLI, the MCP server integration, pre-configured git hooks, and support for OASIS SARIF 2.1.0 standardized security reporting.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
