get-qodo-rules
Skill1 starsChanged 41 days agoMITView on GitHub
Optional: loads org- and repo-level coding rules from Qodo when explicitly requested. Do not invoke this skill merely because a task involves code.
- Reads credentials
6 other projects use a version of this, 6 of them edited.
Adopted by
Most recently taken up by
- microsoft/amplifier-app-nanoclawedited, first seen Jun 12, 2026
- mcarmona1064-cell/clawbridge-codexedited, first seen May 11, 2026
- b1rdmania/ghostclawedited, first seen May 3, 2026
- DingyangLyu/MatClawedited, first seen Mar 17, 2026
- sskarz/nanoclawbsteredited, first seen Mar 11, 2026
- breakcafe/picoclawedited, first seen Mar 6, 2026
Used with
Projects with it also use add-telegram-swarm and add-voice-transcription.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
juancruzmunozalbeloSkilladd-telegram-swarm
Add Agent Swarm (Teams) support to Telegram. Each subagent gets its own bot identity in the group. Requires Telegram channel to be set up first (use /add-telegram). Triggers on "agent swarm", "agent teams telegram", "telegram swarm", "bot pool".
Also in 4 projects that use this
juancruzmunozalbeloSkilladd-voice-transcription
Add voice message transcription to NanoClaw using OpenAI's Whisper API. Automatically transcribes WhatsApp voice notes so the agent can read and respond to them.
Also in 3 projects that use this
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 6
- DingyangLyu/MatClaw★ 9880% same
- b1rdmania/ghostclaw★ 9180% same
- microsoft/amplifier-app-nanoclaw★ 580% same
- sskarz/nanoclawbster★ 280% same
- breakcafe/picoclaw★ 180% same
- mcarmona1064-cell/clawbridge-codex★ 180% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository54 other files it gives its agents.
- container/AGENTS.mdAGENTS.md
- container/CLAUDE.mdCLAUDE.md
- add-atomic-chat-toolSkill
- add-codexSkill
- add-dashboardSkill
- add-deltachatSkill
- add-discordSkill
- add-emacsSkill
- add-gcal-toolSkill
- add-gchatSkill
- add-githubSkill
- add-gmail-toolSkill
- add-imessageSkill
- add-karpathy-llm-wikiSkill
- add-linearSkill
- add-macos-statusbarSkill
- add-matrixSkill
- add-mnemonSkill
- add-ollama-providerSkill
- add-ollama-toolSkill
- add-opencodeSkill
- add-piSkill
- add-resendSkill
- add-rtkSkill
- add-signalSkill
- add-slackSkill
- add-teamsSkill
- add-telegramSkill
- add-vercelSkill
- add-webexSkill
- add-wechatSkill
- add-whatsapp-cloudSkill
- add-whatsappSkill
- archive-tripSkill
- customizeSkill
- debugSkill
- init-first-agentSkill
- init-onecliSkill
- learnSkill
- manage-channelsSkill
- manage-mountsSkill
- migrate-from-openclawSkill
- migrate-from-v1Skill
- migrate-memorySkill
- migrate-nanoclawSkill
- nano-pvt-hubSkill
- new-knowledge-graph-tutorSkill
- new-tripSkill
- qodo-pr-resolverSkill
- reflectSkill
- setupSkill
- update-nanoclawSkill
- update-skillsSkill
- use-native-credential-proxySkill
The file
We split this skill into the rules it gives an agent
11 rules. 8 are common, 0 are distinctive, and 3 are very specific to this project.
8
Common
Most of the 6 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Common: line 20
Skip: if "Qodo Rules Loaded" already appears in conversation context.
- Common: line 28
If rules are already loaded (look for "Qodo Rules Loaded" in recent messages), skip to step 6.
- Common: line 32
Check that the current directory is inside a git repository.
- Very specific: line 40
Check that the required Qodo configuration is present.
- Very specific: line 42
API key: Read from ~/.qodo/config.json (API_KEY field).
- Very specific: line 43
Environment name: Read from ~/.qodo/config.json (ENVIRONMENT_NAME field), with QODO_ENVIRONMENT_NAME environment variable taking precedence.
- Common: line 50
Stop after 100 pages maximum (safety limit).
- Common: line 51
If no rules are found after all pages, inform the user and exit gracefully.
- Common: line 74
After code generation, inform the user about rule application:
- Common: line 102
Re-running when rules are loaded: - Check for "Qodo Rules Loaded" in context first
- Common: line 104
Forgetting to report when no rules apply: - Always inform the user when no rules were applicable, so they know the rules system is active
“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Get Qodo Rules Skill
Description
Fetches repository-specific coding rules from the Qodo platform API when the user explicitly asks for Qodo rules. Rules can include security requirements, coding standards, quality guidelines, and team conventions.
This is an opt-in skill. Do not invoke it merely because the task involves code; the repository's normal instructions apply unless the user asks to load Qodo rules. Skip if "Qodo Rules Loaded" already appears in conversation context.
Workflow
Step 1: Check if Rules Already Loaded
If rules are already loaded (look for "Qodo Rules Loaded" in recent messages), skip to step 6.
Step 2: Verify working in a git repository
- Check that the current directory is inside a git repository. If not, inform the user that a git repository is required and exit gracefully.
- Extract the repository scope from the git
originremote URL. If no remote is found, exit silently. If the URL cannot be parsed, inform the user and exit gracefully. - Detect module-level scope: if inside a
modules/*subdirectory, use it as the query scope; otherwise use repository-wide scope.
See repository scope detection for details.
Step 3: Verify Qodo Configuration
Check that the required Qodo configuration is present. The default location is ~/.qodo/config.json.
- API key: Read from
~/.qodo/config.json(API_KEYfield). If not found, report briefly that Qodo is not configured and exit gracefully; do not suggest setup unless the user asked to enable Qodo. - Environment name: Read from
~/.qodo/config.json(ENVIRONMENT_NAMEfield), withQODO_ENVIRONMENT_NAMEenvironment variable taking precedence. If not found, report briefly that Qodo is not configured and exit gracefully; do not suggest setup unless the user asked to enable Qodo.
Step 4: Fetch Rules with Pagination
- Fetch all pages from the API (50 rules per page) until no more results are returned.
- On each page, handle HTTP errors and exit gracefully with a user-friendly message.
- Accumulate all rules across pages into a single list.
- Stop after 100 pages maximum (safety limit).
- If no rules are found after all pages, inform the user and exit gracefully.
See pagination details for the full algorithm and error handling.
Step 5: Format and Output Rules
- Print the "📋 Qodo Rules Loaded" header with repository scope, scope context, and total rule count.
- Group rules by severity and print each non-empty group: ERROR, WARNING, RECOMMENDATION.
- Each rule is formatted as:
- **{name}** ({category}): {description} - End output with
---.
See output format details for the exact format.
Step 6: Apply Rules by Severity
| Severity | Enforcement | When Skipped |
| ERROR | Must comply, non-negotiable. Add comment documenting compliance (e.g., # Following Qodo rule: No Hardcoded Credentials) | Explain to user and ask for guidance |
| WARNING | Should comply by default | Briefly explain why in response |
| RECOMMENDATION | Consider when appropriate | No action needed |
Step 7: Report
After code generation, inform the user about rule application:
- ERROR rules applied: List which rules were followed
- WARNING rules skipped: Explain why
- No rules applicable: Inform: "No Qodo rules were applicable to this code change"
- RECOMMENDATION rules: Mention only if they influenced a design decision
How Scope Levels Work
Determines scope from git remote and working directory (see Step 2):
Scope Hierarchy:
- Universal (
/) - applies everywhere - Org Level (
/org/) - applies to organization - Repo Level (
/org/repo/) - applies to repository - Path Level (
/org/repo/path/) - applies to specific paths
Configuration
See ~/.qodo/config.json for API key setup. Set QODO_ENVIRONMENT_NAME env var or ENVIRONMENT_NAME in config to select environment.
Common Mistakes
- Re-running when rules are loaded - Check for "Qodo Rules Loaded" in context first
- Missing compliance comments on ERROR rules - ERROR rules require a comment documenting compliance
- Forgetting to report when no rules apply - Always inform the user when no rules were applicable, so they know the rules system is active
- Not in git repo - Inform the user that a git repository is required and exit gracefully; do not attempt code generation
- No API key - Inform the user with setup instructions; set
QODO_API_KEYor create~/.qodo/config.json - No rules found - Inform the user; set up rules at app.qodo.ai
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

