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.
npx agentmods add skills/alaarab/phren/syncnpx skills add alaarab/phren --skill syncgit clone --depth 1 https://github.com/alaarab/phrenWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00014 | $0.02091 |
| Opus 5 | $0.00007 | $0.01045 |
| Sonnet 5 | $0.00003 | $0.00418 |
| Haiku 4.5 | $0.00001 | $0.00209 |
Grade A, and why
sync 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 2d 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.
This is a copy
92% identical to phren-sync — 8 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 262 lines — stays where its author put it; the contents beside it link to each section on GitHub.
phren-sync - Profile-aware sync
Sync your Claude skills and project config across machines using profiles that control what goes where.
Phren carries your skills and project config between machines. Profile-aware: he only syncs what belongs on this machine.
Prerequisites
This skill requires a phren repository. If you don't have one yet, see "New machine setup" at the bottom.
Expected structure:
~/.phren/ # or wherever your phren repo lives
global/ # skills and config for all projects
skills/ # global skill files (.md)
CLAUDE.md # global Claude instructions
<project>/ # per-project config
CLAUDE.md
skills/
summary.md
profiles/ # machine profile definitions
work.yaml
personal.yaml
machines.yaml # maps machine names to profiles
If any of these are missing, the skill will tell you what to create and how.
How it works
Phren uses profiles to decide what goes where. A profile is a list of projects. A machine is mapped to a profile. When you sync, phren only brings over the projects in your machine's profile.
Sync down (pull to this machine)
When the user says "get my skills", "sync my config", "pull from phren", or just "phren-sync":
1. Find the phren directory
PHREN_DIR="${PHREN_DIR:-$HOME/.phren}"
ls "$PHREN_DIR" 2>/dev/null
If the directory doesn't exist, tell the user:
"No phren repo found at ~/.phren. Clone yours with
git clone <your-repo-url> ~/.phren, or setPHREN_DIRto point to a different location."
2. Figure out which machine this is
cat ~/.phren/.machine-id 2>/dev/null || hostname
If ~/.phren/.machine-id doesn't exist, ask the user to pick a name:
"I need a machine name to look up your profile. What should I call this machine? (e.g. 'work-laptop', 'home-desktop')"
Then save it:
mkdir -p ~/.phren && echo "work-laptop" > ~/.phren/.machine-id
3. Look up the profile
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.
- 2d ago First seen · 262 lines · 14 tokens per session scan A 7e45b7d993ee
sync is a skill published in the GitHub repository alaarab/phren (4 stars, last pushed 8d ago), licensed MIT. It adds 14 tokens to every session and 2,091 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 92% identical to phren-sync, differing in 8 lines, and is treated as a copy.
Other skills, from other repositories
hr-onboarding
A new-hire onboarding plan as a single page — first week schedule, buddy + manager intro, learning track, equipment checklist, and "you're set when…" outcomes. Use when the brief mentions "onboarding", "new hire", "first week plan", or "入职".
lark-im
飞书即时通讯:收发消息和管理群聊。发送和回复消息、搜索聊天记录、管理群聊成员、上传下载图片和文件、管理表情回复、发送应用内/短信/电话加急、发送和处理交互卡片(Interactive Card)、监听卡片按钮回调(card.action.trigger)。当用户需要发消息、查看或搜索聊天记录、下载聊天中的文件、查看群成员、搜索群、创建群聊或话题群、管理标记数据、管理 Feed 置顶(添加/移除/查询置顶会话)、管理标签数据、处理卡片回调时使用。.
feishu
Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.
reflect
Review recent work, find repeated workflow patterns, and suggest reusable skills, agents, commands, config changes, or playbooks. Use when the user asks to learn from past sessions, improve recurring workflows, or identify what should be turned into reusable agent instructions.
mochi-remind
Handle due reminders — notify the user with natural language and mark them done.
organize-threads
猫猫辅助整理未分类 thread,分析标题和元数据,建议合适的标签。 Use when: 用户说"帮我整理"、"分类 thread"、点击整理按钮。 Not for: 删除/编辑标签本身。 Output: 按 thread 的标签建议列表。.