phren-profiles

phren-profiles is a skill for Claude Code, Codex from alaarab/phren. It costs 18 tokens per session (828 once invoked), scanned A, original, MIT.

A manager for phren profiles, which are lists of projects assigned to particular machines or work roles. It also manages the mapping between machines and profiles.

In plain words
What is it for?
Use it to add projects to profiles, move them between profiles, create profiles, and inspect their contents.
Why use it?
It controls which projects appear on each computer, helping keep personal and work projects separated.

Skill for Claude CodeCodex

Part of the phren plugin — 5 skills, 1 hook, 1 MCP server shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/alaarab/phren/phren-profiles
Any agent
npx skills add alaarab/phren --skill phren-profiles
Clone the repo
git clone --depth 1 https://github.com/alaarab/phren

Made for: Claude Code, Codex.

Or install phren, the plugin that ships this one along with the rest of its 5 skills, 1 hook, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for phren-profiles

README.md
[![agentmods](https://agentmods.dev/badge/skills/alaarab/phren/phren-profiles.svg)](https://agentmods.dev/skills/alaarab/phren/phren-profiles)
Your own site
<a href="https://agentmods.dev/skills/alaarab/phren/phren-profiles"><img src="https://agentmods.dev/badge/skills/alaarab/phren/phren-profiles.svg" alt="Measured on agentmods" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 828 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00018 $0.00828
Opus 5 $0.00009 $0.00414
Sonnet 5 $0.00004 $0.00166
Haiku 4.5 $0.00002 $0.00083

Measured 5d ago against content hash 1999d8e28d1c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

phren-profiles scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

global/skills/phren-profiles/SKILL.md · 122 lines

How it starts

The opening of the file, as written. The whole thing — 122 lines — stays where its author put it; the contents beside it link to each section on GitHub.

phren-profiles - Manage your profiles

Multi-machine only. This skill is for users who sync phren across multiple machines and need to control which projects appear where. If you only use one machine, you can skip this -- phren-sync handles everything you need.

Add projects to profiles, move projects between profiles, create new profiles, and check what's in each one.

Manage which projects appear on which machines by editing your profile definitions. Each machine maps to one profile, and each profile is a list of projects.

Prerequisites

You need a phren repo. The profiles live in ~/.phren/profiles/ and machine mappings live in ~/.phren/machines.yaml.

~/.phren/
  profiles/
    work.yaml
    personal.yaml
  machines.yaml

If you don't have a phren repo yet, start with phren-init.

What's a profile?

A profile is a YAML file listing projects for a machine role. Example:

name: work
description: Work laptop with company projects
projects:
  - global
  - my-api
  - frontend

When you sync on a machine mapped to this profile, only those projects appear. Personal projects stay off work machines.

How to use it

"Add a project to a profile"

User says: "add my-project to my work profile"

  1. Find the profile file: ~/.phren/profiles/work.yaml
  2. Read it and find the projects: list
  3. Add the project name if it's not already there
  4. Commit the change

"Create a new profile"

User says: "create a new profile called staging"

  1. Create a new file: ~/.phren/profiles/staging.yaml
  2. Fill it with the required structure:
name: staging
description: Staging servers and experiments
projects:
  - global
  1. Ask which projects should be in this new profile (can add more later)
  2. Commit the file

"Show me what's in a profile"

User says: "what's in my personal profile?"

  1. Find ~/.phren/profiles/personal.yaml
  2. Read it and display the projects list

"Move a project between profiles"

User says: "move my-project from personal to work"

Read the full file on GitHub · 122 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 122 lines · 18 tokens per session scan A 1999d8e28d1c

Subscribe to this mod's changes

phren-profiles is a skill published in the GitHub repository alaarab/phren (4 stars, last pushed today), licensed MIT. It adds 18 tokens to every session and 828 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.