Claude Code Environment Setup & Portability Guide
Date: 2026-03-24 Version: 1.0 Purpose: Document exactly what’s installed, how it works across directories, and how to recreate it on a new machine.
How Skills & Plugins Work (The Portability Model)
~/.claude/ <-- USER LEVEL (follows you everywhere)
├── CLAUDE.md <-- Global instructions, loaded in every session
├── settings.json <-- Plugins, marketplaces, permissions, preferences
├── skills/ <-- Skills available in ALL projects
│ ├── iso-27001/SKILL.md
│ ├── soc-2/SKILL.md
│ └── ...
├── agents/ <-- Subagents (planner, reviewer, researcher)
│ ├── planner.md
│ ├── senior-reviewer.md
│ └── research-agent.md
└── plugins/
├── installed_plugins.json <-- What's installed (metadata)
├── known_marketplaces.json <-- Marketplace registry
├── cache/ <-- Downloaded plugin files (REGENERABLE)
└── data/ <-- Plugin persistent data
<any-project>/.claude/ <-- PROJECT LEVEL (only this repo)
├── settings.local.json <-- Project-specific overrides
└── skills/ <-- Skills only for this project
├── blog/SKILL.md
├── seo/SKILL.md
└── ...
Key Rules
| What | Where | Available In | Backed Up By |
|---|---|---|---|
| Plugins (Sales, Ops, etc.) | ~/.claude/settings.json + plugins/cache/ | Every project | settings.json (cache is regenerable) |
| Marketplaces | ~/.claude/settings.json (extraKnownMarketplaces) | Every project | settings.json |
| User skills (GRC, legal, custom) | ~/.claude/skills/ | Every project | NOT backed up — must do manually |
| Agents (planner, reviewer) | ~/.claude/agents/ | Every project | NOT backed up — must do manually |
| Project skills (blog, SEO) | .claude/skills/ in the repo | Only that repo | Git (if committed) |
| Global instructions | ~/.claude/CLAUDE.md | Every project | NOT backed up — must do manually |
What “Follows You Everywhere” Means
When you cd ~/some-other-project && claude, all user-level items load automatically:
- All 9 installed plugins (Sales, Operations, Engineering, Marketing, Legal, commit-commands, superpowers, frontend-design x2)
- All 9 user-level skills (GRC frameworks, custom Solanasis skills)
- All 3 agents (planner, senior-reviewer, research-agent)
- Your global CLAUDE.md instructions
The project-level items (blog/SEO skills, project settings) only load when you’re in C:/_my/_solanasis/.
What’s Currently Installed (as of 2026-03-24)
Marketplaces (3)
| Marketplace | Source | Type |
|---|---|---|
| claude-plugins-official | anthropics/claude-plugins-official | Default (auto) |
| claude-code-plugins | anthropics/claude-code | Added manually |
| knowledge-work-plugins | anthropics/knowledge-work-plugins | Added manually |
Plugins (9 installed, all user-scope)
| Plugin | Marketplace | Version | Purpose |
|---|---|---|---|
| sales | knowledge-work-plugins | 1.2.0 | Account research, call prep, outreach drafting |
| operations | knowledge-work-plugins | 1.2.0 | Vendor mgmt, process optimization, compliance tracking |
| engineering | knowledge-work-plugins | 1.2.0 | Code review, incident response, system design |
| marketing | knowledge-work-plugins | 1.2.0 | Content creation, campaign planning, brand voice |
| legal | knowledge-work-plugins | 1.2.0 | Contract review, NDA triage, compliance |
| commit-commands | claude-plugins-official | 79caa0d | /commit, /commit-push-pr, /clean_gone |
| superpowers | claude-plugins-official | 5.0.5 | Brainstorming, TDD, code review subagents |
| frontend-design | claude-plugins-official | 79caa0d | Production-grade UI generation |
| frontend-design | claude-code-plugins | 1.0.0 | (duplicate from demo marketplace) |
User-Level Skills (9 Solanasis + 5 pre-existing)
| Skill | Source | Category |
|---|---|---|
| iso-27001 | Sushegaad/GRC (99% eval accuracy) | Compliance |
| soc-2 | Sushegaad/GRC | Compliance |
| hipaa | Sushegaad/GRC | Compliance |
| gdpr | Sushegaad/GRC | Compliance |
| fedramp | Sushegaad/GRC | Compliance |
| claude-legal | evolsb/claude-legal-skill | Legal (CUAD contract review) |
| security-assessment-report | Custom built | Client delivery |
| client-onboarding | Custom built | Client delivery |
| dr-verification | Custom built | Client delivery |
| clarify | Pre-existing | Planning |
| deep-plan | Pre-existing | Planning |
| deep-plan-validate | Pre-existing | Planning |
| plan-review | Pre-existing | Planning |
| security-assessment-report | Custom | Client delivery |
Project-Level Skills (33, Solanasis workspace only)
| Suite | Skills | Source |
|---|---|---|
| Blog | blog, blog-write, blog-outline, blog-audit, blog-brief, blog-calendar, blog-cannibalization, blog-chart, blog-factcheck, blog-geo, blog-image, blog-persona, blog-repurpose, blog-rewrite, blog-schema, blog-seo-check, blog-strategy, blog-taxonomy, blog-analyze | AgriciDaniel/claude-blog |
| SEO | seo, seo-audit, seo-competitor-pages, seo-content, seo-geo, seo-hreflang, seo-images, seo-local, seo-page, seo-plan, seo-programmatic, seo-schema, seo-sitemap, seo-technical | AgriciDaniel/claude-seo |
Agents (3, user-level)
| Agent | Purpose | Model |
|---|---|---|
| planner | Multi-step task planning | Opus |
| senior-reviewer | QA for deliverables | Opus |
| research-agent | Deep research | Opus |
Backup Strategy
Critical files (back up regularly)
These files have NO cloud sync and represent your IP:
~/.claude/CLAUDE.md # Global instructions
~/.claude/settings.json # Plugin/marketplace config
~/.claude/skills/ # ALL user-level skills (entire directory)
~/.claude/agents/ # ALL agent definitions
Backed up in this repo
A copy of user-level skills is maintained at:
solanasis-docs/backup/claude-skills/ # Mirror of ~/.claude/skills/
solanasis-docs/backup/claude-agents/ # Mirror of ~/.claude/agents/
Keep these in sync after any skill/agent changes.
Regenerable (don’t need to back up)
~/.claude/plugins/cache/ # Re-downloaded on install
~/.claude/plugins/marketplaces/ # Re-cloned from settings.json
~/.claude/sessions/ # Session transcripts
~/.claude/history.jsonl # Command history
~/.claude/file-history/ # Pre-edit snapshots
~/.claude/backups/ # Auto-backups
New Machine Setup
Quick method (5 min)
- Install Claude Code:
npm install -g @anthropic-ai/claude-code - Authenticate:
claude login - Run the reconstruction script:
python solanasis-scripts/claude-code-setup.py - Restart Claude Code
Manual method (15 min)
# 1. Install Claude Code
npm install -g @anthropic-ai/claude-code
# 2. Authenticate
claude login
# 3. Copy critical files from backup
# Copy ~/.claude/CLAUDE.md from solanasis-docs or backup
# Copy ~/.claude/settings.json from backup
# Copy ~/.claude/skills/ from solanasis-docs/backup/claude-skills/
# Copy ~/.claude/agents/ from solanasis-docs/backup/claude-agents/
# 4. Add marketplaces
claude plugin marketplace add anthropics/claude-code
claude plugin marketplace add anthropics/knowledge-work-plugins
# 5. Install all plugins
claude plugin install sales@knowledge-work-plugins
claude plugin install operations@knowledge-work-plugins
claude plugin install engineering@knowledge-work-plugins
claude plugin install marketing@knowledge-work-plugins
claude plugin install legal@knowledge-work-plugins
claude plugin install commit-commands@claude-plugins-official
claude plugin install superpowers@claude-plugins-official
claude plugin install frontend-design@claude-plugins-official
claude plugin install frontend-design@claude-code-plugins
# 6. Verify
claude plugin list
claude plugin marketplace listWhat the reconstruction script does
solanasis-scripts/claude-code-setup.py automates steps 3-5:
- Detects whether this is a fresh install or an existing environment
- Copies skills and agents from the backup directory
- Adds marketplaces (idempotent — safe to run multiple times)
- Installs all plugins (skips already-installed ones)
- Validates the installation
- Generates a status report
Context Budget Notes
With the current setup (9 plugins + 14 user skills + 33 project skills = 56 total), you may approach the context budget limit (~16,000 chars for skill descriptions).
If you see “excluded skills” warnings:
- Set blog/SEO sub-skills to manual-only (the main
blogandseoorchestrators auto-trigger the others) - Set compliance skills (fedramp, gdpr) to manual-only unless doing compliance work
- Add
disable-model-invocation: trueto SKILL.md frontmatter for manual-only skills
Current priority for auto-invoke (keep these enabled):
- Sales: account-research, call-prep, draft-outreach
- Operations: vendor-management, process-optimization, compliance-tracking, risk-assessment
- Engineering: documentation, incident-response
- Marketing: content-creation
- Legal: contract-review
- Security: security-assessment-report
- Blog: blog (main orchestrator)
- SEO: seo (main orchestrator)
Troubleshooting
Skills not loading after install:
- Restart Claude Code (skills load at session start)
- Check
/contextfor excluded skills warnings
Plugin install fails:
- Run
claude plugin marketplace updateto refresh marketplace cache - Check network connectivity to GitHub
Skills from wrong scope loading:
- User skills override project skills with the same name
- Use
/skillsto see what’s loaded and from where
Full reset (nuclear option):
rm -rf ~/.claude/plugins/cache/
# Then reinstall all pluginsRelated Documents
- The Ultimate Claude Code Skills Playbook — what to install and why
- [This document] — how it’s installed and how to recreate it
solanasis-scripts/claude-code-setup.py— automated reconstruction script