setup-shared-folder
Skill91 starsChanged 7 months agoMITView on GitHub
Set up a private GitHub repo for syncing files between GhostClaw (Mac mini) and user's main machine (MacBook Air, etc). Use when user wants to share files across machines without Dropbox/iCloud.
- Commits and pushes
In this repository55 other files it gives its agents.
- ab-test-setupSkill
- ad-creativeSkill
- add-discordSkill
- add-gmail-agentSkill
- add-heartbeatSkill
- add-morning-briefingSkill
- add-slackSkill
- add-telegramSkill
- add-telegram-swarmSkill
- add-update-checkSkill
- add-voice-replySkill
- add-voice-transcriptionSkill
- ai-seoSkill
- analytics-trackingSkill
- churn-preventionSkill
- cold-emailSkill
- competitor-alternativesSkill
- content-strategySkill
- copy-editingSkill
- copywritingSkill
- customizeSkill
- debugSkill
- designSkill
- domain-checkSkill
- email-sequenceSkill
- form-croSkill
- free-tool-strategySkill
- get-qodo-rulesSkill
- launch-strategySkill
- marketing-ideasSkill
- marketing-psychologySkill
- migrate-memorySkill
- onboarding-croSkill
- page-croSkill
- paid-adsSkill
- paywall-upgrade-croSkill
- popup-croSkill
- pr-babysitterSkill
- pricing-strategySkill
- product-marketing-contextSkill
- programmatic-seoSkill
- qodo-pr-resolverSkill
- referral-programSkill
- revopsSkill
- run-ralphSkill
- sales-enablementSkill
- schema-markupSkill
- seo-auditSkill
- setup-ghostclawSkill
- setupSkill
- signup-flow-croSkill
- site-architectureSkill
- social-contentSkill
- update-ghostclawSkill
- update-nanoclawSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 109
After running, update the user's PROJECTS.md:
- Distinctive: line 126
Add to memory: when saving files to share with user, use this pattern:
- Very specific: line 142
Only accessible to GhostClaw's GitHub account and collaborators
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Setup Shared Folder
Creates a private GitHub repo for syncing files between the machine running GhostClaw and the user's primary machine.
Use when:
- User wants files from GhostClaw accessible on another machine
- User wants to avoid Dropbox/Google Drive/iCloud
- User mentions "shared folder", "sync files", "access files on my laptop"
What it does
- Creates
~/ghostclaw-shared/directory structure:variant/- Variant HTML/React exportsprojects/- Project filesscratch/- Temp workspace
- Initializes git repo
- Creates private GitHub repo (under GhostClaw's GitHub account)
- Pushes initial commit
- Gives user clone instructions
Usage
# On GhostClaw's machine (already done by skill):
cd ~/ghostclaw-shared
# Repo created and pushed
# On user's machine (tell them to run):
git clone https://github.com/ziggythebot/ghostclaw-shared.git
cd ghostclaw-sharedWorkflow after setup
When GhostClaw saves files:
# GhostClaw does this automatically:
cd ~/ghostclaw-shared
cp /path/to/file variant/
git add .
git commit -m "Add variant export"
git pushUser gets files:
# User runs on their machine:
cd ~/ghostclaw-shared
git pull
# Files now available locallyAuto-sync option (optional)
For automatic pulling on user's machine:
# Add to crontab on user's machine:
*/5 * * * * cd ~/ghostclaw-shared && git pull -qImplementation
#!/bin/bash
# Create directory structure
mkdir -p ~/ghostclaw-shared/{variant,projects,scratch}
cd ~/ghostclaw-shared
# Initialize git
git init
echo "# GhostClaw Shared Files
Synced workspace between GhostClaw and your main machine.
- \`variant/\` - Variant HTML/React exports
- \`projects/\` - Project files
- \`scratch/\` - Temp workspace
## Usage
Pull latest files:
\`\`\`
git pull
\`\`\`
" > README.md
git add .
git commit -m "Initial commit"
# Create private GitHub repo
gh repo create ghostclaw-shared --private --source=. --push
echo "✓ Shared folder created at ~/ghostclaw-shared"
echo "✓ GitHub repo: https://github.com/$(gh api user -q .login)/ghostclaw-shared"
echo ""
echo "On your main machine, run:"
echo " git clone https://github.com/$(gh api user -q .login)/ghostclaw-shared.git"Update PROJECTS.md
After running, update the user's PROJECTS.md:
## Shared Files
**GitHub Repo**: `~/ghostclaw-shared/`
- Syncs to https://github.com/ziggythebot/ghostclaw-shared
- Clone on your MacBook Air: `git clone <url>`
- Pull updates: `cd ~/ghostclaw-shared && git pull`
- Subfolders:
- `variant/` - Variant HTML/React exports
- `projects/` - Project files
- `scratch/` - Temp workspaceHelper function for GhostClaw
Add to memory: when saving files to share with user, use this pattern:
# Save file to shared folder
cp /path/to/file ~/ghostclaw-shared/variant/filename.html
# Auto-commit and push
cd ~/ghostclaw-shared
git add .
git commit -m "Add: filename.html"
git pushSecurity
- Repo is private by default
- Only accessible to GhostClaw's GitHub account and collaborators
- User can add their own GitHub account as collaborator if needed
- Isolated from user's personal cloud storage (Dropbox, iCloud, etc.)
Notes
- Requires
ghCLI authenticated - User needs git on their main machine
- Alternative: use Desktop folder via screen sharing (simpler but manual)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

