sync

A profile-based system for syncing Claude skills and project settings between computers. A profile lists the projects that should appear on a particular machine.

In plain words
What is it for?
Use it to transfer skills and project configuration between machines through a phren repository.
Why use it?
It keeps machine-specific project files and instructions organized, so each computer receives only what belongs there.

Skill for Claude CodeCodex

Part of the phren plugin — 10 skills 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/sync
Any agent
npx skills add alaarab/phren --skill sync
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 10 skills.

Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,091 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 92% copy Near-identical to another mod 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 $0.00014 $0.02091
Opus 5 $0.00007 $0.01045
Sonnet 5 $0.00003 $0.00418
Haiku 4.5 $0.00001 $0.00209

Measured 2d ago against content hash 7e45b7d993ee, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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.

Origin

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.

packages/cli/skills/sync/SKILL.md · 262 lines

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 set PHREN_DIR to 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

Read the full file on GitHub · 262 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. 2d ago First seen · 262 lines · 14 tokens per session scan A 7e45b7d993ee

Subscribe to this mod's changes

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.

Related

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 "入职".

nexu-io/open-design · 62 tokens

lark-im

飞书即时通讯:收发消息和管理群聊。发送和回复消息、搜索聊天记录、管理群聊成员、上传下载图片和文件、管理表情回复、发送应用内/短信/电话加急、发送和处理交互卡片(Interactive Card)、监听卡片按钮回调(card.action.trigger)。当用户需要发消息、查看或搜索聊天记录、下载聊天中的文件、查看群成员、搜索群、创建群聊或话题群、管理标记数据、管理 Feed 置顶(添加/移除/查询置顶会话)、管理标签数据、处理卡片回调时使用。.

larksuite/cli · 140 tokens

feishu

Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.

Hmbown/CodeWhale · 33 tokens

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.

alvinunreal/oh-my-opencode-slim · 53 tokens

mochi-remind

Handle due reminders — notify the user with natural language and mark them done.

kirodotdev/KiroCrew · 20 tokens

organize-threads

猫猫辅助整理未分类 thread,分析标题和元数据,建议合适的标签。 Use when: 用户说"帮我整理"、"分类 thread"、点击整理按钮。 Not for: 删除/编辑标签本身。 Output: 按 thread 的标签建议列表。.

zts212653/clowder-ai · 65 tokens