
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Airul generates context for AI agents (AGENTS.md, CLAUDE.md, etc.) from your docs. You can link multiple text files - project description, user docs, and other materials useful for agents - and generate a single global context file referenced by your AI agent.
# Install as a CLI tool
npm install -g airul
# Create a new project and open in Cursor
airul new my-project "Create a React app with authentication" --cursor
# This will:
# 1. Create my-project directory
# 2. Initialize git repository
# 3. Create initial documentation
# 4. Generate AI context files
# 5. Open in Cursor (and other editors if specified)
airul init
Initializes a new project:
.airul.json
config if it doesn't existTODO-AI.md
if it doesn't existairul gen
Generates AI context files:
.airul.json
exists: generates rules using the existing configuration.airul.json
doesn't exist: runs init
first, then generates rules# Install as a CLI tool
npm install -g airul
# Initialize airul in your project
airul init
# This will:
# 1. Add airul as dev dependency
# 2. Create .airul.json config
# 3. Create initial documentation
# 4. Generate AI context files
After making changes to your project, you have these options to update the AI context:
# Run this after making changes to your documentation
airul gen
You can run this command directly if you installed Airul globally, or use npx airul gen
if installed as a dev dependency.
For automatic updates, add this to your package.json:
{
"devDependencies": {
"airul": "latest"
},
"scripts": {
"prestart": "airul gen",
"prebuild": "airul gen"
}
}
This way, your AI context will always be updated before running or building your project.
All approaches will update context when you:
Airul supports multiple AI-powered editors. You can enable them during initialization or in existing projects:
Editor | Output File | Flag to Enable | Configuration |
---|---|---|---|
Cursor | AGENTS.md | --cursor | "cursor": true |
GitHub Copilot | .github/copilot-instructions.md | --copilot | "copilot": true |
Windsurf | .windsurfrules | --windsurf | "windsurf": true |
Claude | CLAUDE.md | --claude | "claude": true |
Cline | .clinerules | --cline | "cline": true |
Codex | AGENTS.md | --codex | "codex": true |
Example: Enabling editors during initialization:
# Enable Cursor and Claude
airul init --cursor --claude
# Enable all editors
airul init --cursor --copilot --windsurf --claude --cline --codex
Example: Enabling editors in an existing project:
# Add Claude support to an existing project
airul init --claude
# OR
airul gen --claude
# Enable multiple editors at once
airul init --cursor --copilot --claude
# OR
airul gen --cursor --copilot --claude
# Add Codex support
airul init --codex
# OR
airul gen --codex
You can use either airul init
or airul gen
with editor flags to enable editors in an existing project. Both commands will update your configuration.
Example: Configuration in .airul.json
:
{
"sources": ["README.md", "docs/*.md"],
"output": {
"cursor": true,
"copilot": true,
"windsurf": false,
"claude": true,
"cline": false,
"codex": false
}
}
MIT
FAQs
CLI tool for generating AI rules from project documentation
The npm package airul receives a total of 256 weekly downloads. As such, airul popularity was classified as not popular.
We found that airul demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.