set-profile
Skill1 starsChanged 18 days agoMITView on GitHub
Show or set which world this install serves — home, work or lab — which decides what the firewall refuses. Triggers — "this is my work laptop", "which profile am I on", or a refused capture the user disputes.
- Reads credentials
1 other project uses a version of this.
Adopted by
Most recently taken up by
- buildomator/buildomatortheir own version, first seen Nov 4, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- buildomator/buildomator★ 102same name
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 repository43 other files it gives its agents.
- AGENTS.mdAGENTS.md
- core/AGENTS.mdAGENTS.md
- evals/AGENTS.mdAGENTS.md
- index/AGENTS.mdAGENTS.md
- mcp/AGENTS.mdAGENTS.md
- tools/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- architecture-reviewSkill
- audit-notesSkill
- challenge-planSkill
- change-impactSkill
- clarify-requestSkill
- connect-mcpSkill
- create-teamSkill
- daily-planSkill
- debug-issueSkill
- define-termsSkill
- design-specSkill
- end-of-day-summarySkill
- handover-notesSkill
- join-teamSkill
- merge-workSkill
- migrate-legacy-engineSkill
- personal-setupSkill
- quick-noteSkill
- register-projectsSkill
- repo-mapSkill
- resolve-conflictsSkill
- resume-workSkill
- retrospectiveSkill
- review-changeSkill
- setup-repoSkill
- story-mapSkill
- suggest-skillsSkill
- summarize-filesSkill
- sync-websiteSkill
- trim-agent-docsSkill
- update-pluginSkill
- weekly-reviewSkill
- whats-changedSkill
- write-agent-docsSkill
- write-area-briefSkill
- write-context-docsSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are 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.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 60
Do not just set it. Say what changes, because a profile decides what Cortex will refuse to write:
- Very specific: line 82
If the user is unsure, home is the answer: it is the strictest about the material that causes the most damage when it escapes.
≈ “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.
Files
/set-profile — which world this install serves
Cortex's firewall has always assumed a machine belongs to exactly one world. It just hardcoded that world to personal, so every ritual restated the same rule in prose and no machine could say it was anything else. The profile is that assumption, made declarable.
| refuses | can publish | |
| home (default) | employer and client material | yes |
| work | personal material | yes |
| lab | nothing | no |
Three axes, and they move independently — see ADR 0015:
- mode — repo or vault. What kind of brain the root is.
- audience — solo, team or server. Who it serves.
- profile — home, work or lab. Which world it belongs to.
A work laptop can run a repo brain on a team; a lab box can hold a personal vault.
1. Report where things stand
node -e "import('./core/profile.js').then(m=>{const r=m.resolveProfile({env:process.env});console.log(r.profile, '('+r.source+')');console.log(r.policy.summary)})"Or read it off the MCP server's startup line, which prints all three axes:
cortex: profile=home (default) audience=solo (...) mode=vault root=...source=default means nobody declared one, so it fell back to home. Say that plainly — a default
is not a decision, and the user may not have realised they were relying on it.
2. Set it, if it is wrong
The profile is declared, never detected: a work laptop and a home laptop look identical on disk,
so there is nothing honest to infer. Set CORTEX_PROFILE where this machine's environment lives —
the shell profile, the MCP server entry in ~/.claude.json, or the systemd unit on a server:
export CORTEX_PROFILE=workA value that is not one of the three is a hard failure, not a fallback. CORTEX_PROFILE=works
would otherwise resolve quietly to home and look exactly like a correct home install while the
user believed the firewall pointed the other way.
3. Explain the consequence before they commit to it
Do not just set it. Say what changes, because a profile decides what Cortex will refuse to write:
- home — the firewall in the vault's
AGENTS.md(templates/vault-AGENTS.md). Day-job material is refused and named, never sanitised and filed anyway. If they want work knowledge kept, it goes in a work install or the work repo's ownAGENTS.mdvia/setup-repo. - work — the same rule read from the other side. Employer material is expected; personal notes
are what gets refused. The two installs never sync, so a private note filed into a work brain is
the mirror of the leak
homeguards against. - lab — nothing is refused, and therefore nothing is published: team push is disabled. Those two facts are one decision. A lab that refused nothing and still pushed would just be a way to switch the firewall off and keep leaking.
4. Check the profile matches the machine
A mismatch is the failure worth catching, and it is silent in both directions:
homeon a work laptop — every day-job capture is refused. Annoying, and safe. This is the intended failure direction.workon a personal machine — personal notes refused, and the brain fills with employer content on a machine that may sync to a personal remote. Checkgit remote -vbefore leaving it set.labanywhere real — the firewall is off. Only correct on a machine whose contents are disposable.
If the user is unsure, home is the answer: it is the strictest about the material that causes the
most damage when it escapes.
Don't
- Never infer the profile from the repo, the hostname or the path. A guess here is a guess about which secrets are safe to write down.
- Never set
labto work around a refused write. The refusal is the product working. If the content genuinely belongs somewhere, the answer is the other install, not a weaker firewall.
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.

