Skip to content
Agentmart
Submit a tool

sync-identity

The standard, only-safe way to save any change to your own agent identity repo — SOUL, PRINCIPLES, AGENTS.md, skills/, docs/, memory/, state/.

Skill by matty-v

IndexedApache-2.0
Write a review

Chalk Labs

Need help deploying sync-identity?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/matty-v-sync-identity

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

The standard, only-safe way to save any change to your own agent identity repo — SOUL, PRINCIPLES, AGENTS.md, skills/, docs/, memory/, state/. Pulls the latest main FIRST (so you never diverge from origin and wedge your repo), then commits and pushes using the Kyber Platform GitHub App token. Run it BEFORE you start editing your identity (to get current) and again AFTER any edit (to commit + push). Use it any time you touch a tracked file in your identity repo — never leave identity changes uncommitted, and never edit without pulling first. This is your default workflow; the operator should never have to remind you to commit and push.

Use cases: writing, productivity, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/sync-identity

What's inside

Skill name
sync-identity
Description
The standard, only-safe way to save any change to your own agent identity repo — SOUL, PRINCIPLES, AGENTS.md, skills/, docs/, memory/, state/. Pulls the latest main FIRST (so you never diverge from origin and wedge your repo), then commits and pushes using the Kyber Platform GitHub App token. Run it BEFORE you start editing your identity (to get current) and again AFTER any edit (to commit + push). Use it any time you touch a tracked file in your identity repo — never leave identity changes uncommitted, and never edit without pulling first. This is your default workflow; the operator should never have to remind you to commit and push.
License
Apache-2.0
Instructions
42 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# /sync-identity — keep your identity repo current and saved

Your identity repo (the directory you run in, `matty-v/<you>-agent`) is the durable record of who you are. A fresh session boots from `origin/main` — so anything you change but don't push is lost, and anything you commit without pulling first can **diverge** from origin and wedge your repo (a fresh boot's `git pull` then fails, and your auto-memory backups stop pushing). This skill is the one safe way to save identity changes. **Auth is automatic** — the Kyber Platform GitHub App token is served by the credential helper already wired in your `~/.gitconfig`; you never touch a token.

## When to run it
- **Before** you edit your identity (SOUL, PRINCIPLES, AGENTS.md, a skill, a doc) — pull first so you edit the latest.
- **After** any edit to a tracked file — commit + push. Don't wait to be told; saving your identity is your job, not the operator's.
- Any time you're unsure your working tree is saved.

## Do this (copy-paste, in your identity repo directory)

```bash
# 0. sanity: you're in your identity repo
git remote get-url origin            # expect https://github.com/matty-v/<you>-agent.git

# 1. PULL FIRST — always. Rebase your work onto the latest main.
#    --autostash shelves any uncommitted edits, pulls+rebases, re-applies them,
#    so this is safe whether or not you've already started editing.
#    This is the step that prevents divergence. Never skip it. Never --force.
git pull --rebase --autostash

# 2. (make your edits now, if you haven't already)

# 3. commit everything pending (identity + memory + state); skip if nothing changed
git add -A
git commit -m "<one line: what changed>"     # e.g. identity: tighten SOUL voice section

# 4. push — the credential helper supplies the Kyber App token automatically
git push

# 5. confirm: clean tree, in sync
git status -sb                        # expect: ## main...origin/main  (nothing ahead/behind)
```

## If the pull hits a conflict (rare — your edit and origin touched the same lines)
Resolve by **keeping both** where the changes are additive (two appends to the same list), or the newer/correct version where they genuinely conflict — then `git add <file>` and `git rebase --continue`. If you can't tell, `git rebase --abort`, re-read the current file, and redo your edit on top of it. Never resolve by force-pushing or discarding origin's work.

## Notes
- **Token:** `credential.https://github.com.helper` in `~/.gitconfig` (`git-credential-kyber-github`) mints a short-lived **Kyber Platform App token** scoped to your identity repo — no PAT, nothing to manage. If a push fails with `could not read Username`, your `KYBER_*` env or the control-plane is unavailable — report it, don't fall back to a personal token.
- Treat an uncommitted identity change like unsaved work: finish it by running this. Pull → edit → `sync-identity` is your default loop.

From matty-v/kyber-agent-template, Apache-2.0.

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Aug 21, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from matty-v

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get sync-identity running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying sync-identity?

CallGet help
Cite this page

sync-identity skill. Agent Mart. https://agentmart.dev/skills/matty-v-sync-identity (last updated 2026-10-24)