agentleFS
LeostrukaLeostruka/devin-bundle/skills/devin-config/SKILL.md

devin-config

Skill0 starsChanged 3 months agoMITView on GitHub

Use when evolving the agent's capabilities with a new skill, custom subagent, plugin, hook, MCP server, or project rule — or when auditing/managing a project's `.devin/` configuration, producing deterministic read-only reports, detecting broken references/duplicates/divergences, and generating plans that persist under `.devin/` only after approval.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Before writing any skill/rule, follow writing-skills conventions (frontmatter, discovery keywords, completion criteria).

    line 26

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Devin Config

Extend Devin CLI (devin-config) and audit .devin/ (devin-config). Files go to the project (./.devin/) or global config (~/.config/devin/ / %APPDATA%\devin\). Most changes load at next session/reload.

What to create for each need

I want to...CreateLocationReload
Reusable invocable workflowSkill.devin/skills/<name>/SKILL.md or ~/.config/devin/skills/<name>/SKILL.mdnext skill list
Specialized worker profileCustom subagent.devin/agents/<name>.md or <name>/AGENT.md (global: ~/.config/devin/agents/)next session
Always-on contextRules.devin/global_rules.md, .devin/rules/*.md (global: ~/.config/devin/AGENTS.md)session start
Lifecycle logicHooks.devin/hooks.v1.jsonnext session
API/DB toolsMCP server.devin/mcp_config.json or ~/.config/devin/mcp_config.jsonnext session
Distributable bundlePlugin.devin-plugin/plugin.json + skills/rules/hooks/mcpinstall/reload

Creating skills

Before writing any skill/rule, follow writing-skills conventions (frontmatter, discovery keywords, completion criteria).

---
name: my-skill
description: Use when [specific triggering conditions]
---

Optional frontmatter: allowed-tools, subagent: true, agent: <profile>, model (free variants only — swe-2-max/swe-2-medium, never paid), permissions (allow/deny), triggers (default [user, model]).

Discover: skill list --path ., skill search --path . --keywords "...". Invoke: /my-skill.

Custom subagents

.devin/agents/reviewer.md or .devin/agents/reviewer/AGENT.md:

---
name: reviewer
---
You are a careful code reviewer. Report concrete issues with file:line only.

Reference via skill frontmatter agent: reviewer, or dispatch a subagent_general/researcher subagent (never subagent_explore on a free parent — it may route to a paid model).

Rules

.devin/global_rules.md + .devin/rules/*.md load by default — keep them small, detail lives in skills. .devin/rules/*.md support trigger frontmatter (always_on, manual, model_decision, agent, glob).

Hooks

.devin/hooks.v1.json. Events: PreToolUse, PostToolUse, PermissionRequest, UserPromptSubmit, Stop, SessionStart, SessionEnd, PostCompaction. Command hooks run a shell command; prompt hooks run an LLM evaluation per event.

MCP servers

.devin/mcp_config.json (project) / ~/.config/devin/mcp_config.json (global). Audit cost and trust review first with mcp-governance.

Auditing .devin/ (devin-config mode)

Deterministic, read-only ops via scripts/devin-manager.py (this skill's scripts/). Notes persist only under .devin/notes/devin-config/ and only with --write --approve.

OpPurpose
scanInventory .devin/ + agents/ + mcp_config.json with sha256, provenance, frontmatter, references
explainOne artifact and its outgoing references
diffCompare two .devin/ states by hash
doctorBroken refs, duplicate content/skill names, config/hook divergences
planPlan note from doctor findings
python skills/devin-config/scripts/devin-manager.py scan [PROJECT]
python skills/devin-config/scripts/devin-manager.py doctor [PROJECT]
python skills/devin-config/scripts/devin-manager.py diff [A] [B]

Approval rule: editing .devin/config.json, hooks, or memory requires explicit user approval — reports are read-only by default.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.