AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Contacts Sync

skill-astralune-ai-dunbar-contacts-sync · by Astralune-ai

Sync circle folders ↔ contacts.csv for a dunbar relationship workspace. Run this after you drag a person's folder to a different circle (e.g. 05_弱联系_weak/X → 04_熟人_casual/X) or after creating a new person folder. It detects moves / new / orphan states and rewrites the summary block at the top of each person's .md profile. Trigger words: /contacts-sync, sync contacts, 同步联系人, 同步contacts, 圈层同步.

No reviews yet
0 installs
28 views
0.0% view→install

Install

$ agentstack add skill-astralune-ai-dunbar-contacts-sync

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-astralune-ai-dunbar-contacts-sync)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
3mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Contacts Sync? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

contacts-sync — reconcile folders ↔ contacts.csv

Backed by sync.py in the dunbar root.

Where's my dunbar root?

This skill works on whatever the user has set as their dunbar workspace. Look in this order:

  1. $DUNBAR_ROOT environment variable
  2. The current working directory if it contains contacts.csv AND at least one 0N_* circle folder
  3. Otherwise — ask the user where their dunbar workspace is

User input parsing

$ARGUMENTS containing dry, --dry-run, or preview → run as a dry-run. Otherwise → apply the changes.

Execute

# Apply (default)
python3 "$DUNBAR_ROOT/sync.py" --root "$DUNBAR_ROOT"

# Or, from inside the workspace:
cd "$DUNBAR_ROOT" && python3 sync.py

# Dry-run preview
python3 "$DUNBAR_ROOT/sync.py" --root "$DUNBAR_ROOT" --dry-run

Output meaning

| Marker | Means | Script behavior | |--------|-------|-----------------| | 🔄 Updates | A person's folder changed circle | Update CSV's 圈层 + 详档 columns | | ✨ New | Folder exists in FS, no row in CSV | Append a new row (nickname + circle + profile only; other columns left blank) | | ⚠️ Orphans | CSV row exists, folder missing | Warn only — does NOT auto-delete | | 🗓️ Date normalized | Numbers/Excel mangled a date | Restored to ISO format | | ⚠️ Lint | 真实姓名 == 昵称 | Suggest blanking 真实姓名 until full name is known | | ✅ in sync | No diff | CSV untouched |

When to run

  • After dragging a person folder to a different circle — main use case
  • After creating a new person folder (mkdir // + writing the .md)
  • Periodic sanity check
  • When the AI notices the user is doing relationship-management actions (e.g. adding several contacts in a row), proactively offer to run

Data contract (important)

| Field | Source of truth | How to change | |-------|-----------------|---------------| | 圈层 | Filesystem (which circle directory the folder is in) | Move the folder + sync | | 详档 | Filesystem (actual .md path) | sync computes it | | Row existence | Filesystem (folder presence) | mkdir → sync appends; deletion is manual | | Other 19 columns (phone/Email/tags/birthday/…) | The CSV itself | Edit contacts.csv directly (Numbers, your editor, a spreadsheet UI). sync never touches these. |

Don't

  • ❌ Don't bypass sync to hand-edit the 圈层 or 详档 columns — the next sync will overwrite them
  • ❌ Don't mv just the .md file without moving the whole person folder — sync only looks at folder location
  • ❌ Don't create person folders outside the circle directories — sync won't see them

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.