Codebase intelligence — generates structured navigation maps with file:line references so agents stop re-scanning the same files every session. Use when exploring code, answering "where is X?", or onboarding to a new codebase.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install atris或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install atris⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/atris/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: atris description: Codebase intelligence — generates structured navigation maps with file:line references so agents stop re-scanning the same files every session. Use when exploring code, answering "where is X?", or onboarding to a new codebase. version: 1.0.0 requires: bins: - rg tags: - developer-tools - codebase-navigation - token-optimization - code-map - context-management ---
Maintain a structured map of the codebase with exact file:line references. One scan, permanent knowledge. Saves 80-95% of tokens on code exploration.
atris/MAP.md as the single navigation index.Before searching for anything in the codebase:
atris/MAP.mdrg, then add the result to MAP.mdThe map gets smarter every time you use it. Never let a discovery go unrecorded.
If atris/MAP.md doesn't exist, generate it:
atris/ folder in the project rootatris/MAP.mdIf atris/MAP.md already exists, use it. Regenerate only if the user requests it or the map is clearly stale (references missing files, line numbers way off).
Skip: node_modules, .git, dist, build, vendor, __pycache__, .venv, .env, .key, .pem, credentials, secrets*
Use ripgrep to extract structure:
# Key definitions
rg "^(export|function|class|const|def |async def |router\.|app\.|@app\.)" --line-number -g "!node_modules" -g "!.git" -g "!dist" -g "!.env*"
# Route definitions
rg "(get|post|put|delete|patch)\s*\(" --line-number -g "*.ts" -g "*.js" -g "*.py"
# Entry points
rg "listen|createServer|app\.start|if __name__" --line-number
# MAP.md — [Project Name] Navigation Guide
> Generated by Atris | Last updated: YYYY-MM-DD
## Quick Reference
rg "functionName" path/to/file.ext # Description (line N)
rg "className" path/to/file.ext # Description (line N)
Extract the top 15-25 most important symbols: entry points, exports, route handlers, main classes, config loaders.
Group code by what it does. Every reference includes exact file path and line numbers.
### Feature: User Authentication
**Purpose:** Login, registration, token management
- **Entry:** `src/auth/login.ts:45-89` (handleLogin)
- **Validation:** `src/auth/validate.ts:12-67` (validateToken)
- **Model:** `src/models/user.ts:8-34` (User schema)
- **Routes:** `src/routes/auth.ts:5-28` (POST /login, POST /register)
Group by cross-cutting patterns (error handling, logging, auth middleware, etc).
Flag high-impact files with why they matter and key functions with line numbers.
How execution flows — dev server startup, request lifecycle, build pipeline.
Update MAP.md surgically when the codebase changes:
Small updates, not full regeneration. The map evolves with the code.
安装 Atris 后,可以对 AI 说这些话来触发它
Help me get started with Atris
Explains what Atris does, walks through the setup, and runs a quick demo based on your current project
Use Atris to codebase intelligence — generates structured navigation maps with f...
Invokes Atris with the right parameters and returns the result directly in the conversation
What can I do with Atris in my developer & devops workflow?
Lists the top use cases for Atris, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/atris/ 目录(个人级,所有项目可用),或 .claude/skills/atris/(项目级)。重启 AI 客户端后,用 /atris 主动调用,或让 AI 根据上下文自动发现并使用。
Atris 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Atris 可免费安装使用。请查阅仓库了解许可证信息。
Codebase intelligence — generates structured navigation maps with file:line references so agents stop re-scanning the same files every session. Use when exploring code, answering "where is X?", or onboarding to a new codebase.
Atris 属于「Developer & DevOps」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my developer & devops tasks using Atris
Identifies repetitive steps in your workflow and sets up Atris to handle them automatically