Skip to content
Back to skills

Hub Sync

ASecurity

End-of-session sync. Builds one proposed diff for the hub from dea diff, plans applied, and git changes in the scanned repos since the last sync (status.md rows, profile body edits, integration pages) and shows it for the human to accept. Use at the end of a work session or when the Stop hook suggests it.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 21, 2026
ai-agentsgogit

Security analysis

A100/100

Scanned November 21, 2026

npx -y skills add Rafid-Bin-Sadeque/de-agent --skill hub-sync --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Hub Sync?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Hub Sync
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/rafid-bin-sadeque-hub-sync/badge)](https://www.skillsdirectory.com/skills/rafid-bin-sadeque-hub-sync)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: hub-sync
description: End-of-session sync. Builds one proposed diff for the hub from dea diff, plans applied, and git changes in the scanned repos since the last sync (status.md rows, profile body edits, integration pages) and shows it for the human to accept. Use at the end of a work session or when the Stop hook suggests it.
---

# hub-sync

## When to use
After real work happened: plans applied, code merged, a decision made. The Stop hook suggests it when scanned repos changed.

## Inputs
- Hub path (current hub). "Since the last sync" = since the newest date in `status.md` Done rows or the last
  commit that touched the hub, whichever is later; ask the human if unclear.

## Steps
1. Spawn `de-agent:runner` to collect, in one pass: `dea diff`, the list of `.dea/plans/*.applied.json` since the
   last sync (id, title, status), and `git log --since=<date> --name-only` for each scanned repo path.
2. Run `dea scan` so generated blocks are current (that is the only write to generated content).
3. Draft a single proposal:
   - `status.md`: new Done rows for finished work; In-progress rows for open work; Dated checks for follow-ups
     (`Due` as YYYY-MM-DD, `State` one of todo/doing/blocked/waiting/done).
   - Profile body edits: only facts that changed behaviour or gotchas, in the human body section.
   - Integration pages for new edges that have none (see `onboard-project` step 6).
4. Show everything as ONE unified diff. Ask the human to accept, edit or drop each hunk.
5. Apply only accepted hunks. `dea lint` must exit 0.

## Output
- The unified diff, then (after acceptance) the files written and the `dea lint` result.

## Never
- Never edit generated blocks (`<!-- dea:generated -->`), `catalog/` or `platform/`.
- Never write a claim you did not see evidence for in the diff, plan results or git log.
- Never add rows for work that did not happen. Never write secrets. Never run `dea apply` or `dea approve`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.