To migrate personal AI skills to a new engineering job safely, separate generic workflow skills from employer-owned repository rules, strip internal domains and credentials before export, and sync portable SKILL.md and AGENTS.md assets into Cursor, OpenAI Codex CLI, Google Antigravity, and Claude Code without violating corporate MDM policies.
What Belongs in a Personal AI Skill Library vs. an Employer Repo?
A personal AI skill library belongs to you only when it encodes reusable engineering craft—code review checklists, test-plan generators, and debugging workflows—with zero company-specific code, architecture, or internal endpoints. Any `.cursor/rules/*.mdc`, `AGENTS.md`, or `SKILL.md` file describing proprietary services, database schemas, or internal deployment pipelines belongs to your former employer and must stay behind.
Engineers routinely blur this boundary when they drop personal habits inside project repositories or commit work-specific runbooks into `~/.codex/skills` or `~/.claude/skills`. Before you export a single file to migrate to a new engineering job, classify every skill, rule, and custom instruction against intellectual property ownership and runtime portability:
| Skill / Rule Category | Concrete Examples | Ownership Boundary | Where It Should Live |
|---|---|---|---|
| Personal Portable Craft | PR diff review checklists, SQL migration safety rubrics, TypeScript refactor skills, incident postmortem templates | You (bring to the new job) | ~/.codex/skills, ~/.claude/skills, ~/.gemini/antigravity/skills, or Prompttly cloud library |
| Parameterized Toolchain Helpers | Docker build debuggers, Git bisect workflows, OpenAPI schema linters using {{SERVICE_URL}} placeholders | You (after stripping employer endpoints) | Personal multi-agent library with runtime variables and zero hardcoded hosts |
| Employer-Owned Repo Rules | Internal microservice topology, proprietary schema names, SOC 2 approval gates, corporate Slack webhooks | Former employer (leave behind) | Repository AGENTS.md, .cursor/rules/*.mdc, or .claude/skills inside employer Git |
Maintaining that boundary keeps your personal library clean across job transitions. For hardware-only moves between personal machines without an employer boundary, see our new-computer Claude Code settings migration checklist.
How Do You Sanitize Secrets and Proprietary Context Before Exporting Skills?
Sanitizing AI skills before leaving a company requires auditing every `SKILL.md`, `AGENTS.md`, and `.cursor/rules/*.mdc` file for internal domains, private package registries, hardcoded API token prefixes, and proprietary service names, then replacing environment references with neutral placeholders. Never transfer raw `~/.claude` or `~/.codex` directories straight off a departing corporate laptop without inspecting every text file first.
Even well-intentioned workflow skills accumulate company fingerprints over months of daily coding—a staging URL pasted into a curl example, an internal Jira project key inside a commit-message template, or a Slack channel ID inside an incident triage skill. Run these four sanitization checks on an isolated staging copy before importing your library anywhere else:
- Strip internal hostnames and private package scopes: Search for
.internal,.corp, VPN domains, private npm/PyPI registries, and internal Jira or Linear links, replacing real URLs with{{SERVICE_URL}}or example placeholders. - Scan for credential prefixes and high-entropy strings: Catch accidental
sk-,ghp_,AKIA, or bearer tokens embedded inside example scripts. Our guide on securing AI code prompt libraries covers automated entropy scanning in depth. - Normalize compliance against the Agent Skills standard: Verify each exported
SKILL.mdobeys the Agent Skills specification—a lowercase alphanumeric and hyphennameunder 64 characters and a non-emptydescriptionunder 1,024 characters—so the skill loads cleanly across Codex CLI, Google Antigravity, and Claude Code. - Delete employer-only scripts and MCP configs: Leave behind any
scripts/helpers ormcpServersentries pointing at private company databases or internal auth proxies.
Run this POSIX audit script against a staged copy of your personal skills directory before migrating to your new workstation:
#!/usr/bin/env bash
# audit-portable-skills.sh — Scan staged skills for employer IP & secrets before job migration
set -euo pipefail
STAGE_DIR="${1:-$HOME/portable-skills-stage}"
OLD_COMPANY_REGEX="${2:-acme-corp|internal\.acme|@acme/}"
echo "Scanning $STAGE_DIR for proprietary identifiers and credentials..."
# 1. Proprietary domains, npm scopes, and ticket prefixes
grep -rnE "$OLD_COMPANY_REGEX|https?://[a-z0-9.-]+\.(internal|corp|local)" "$STAGE_DIR" || true
# 2. Common credential prefixes & private key headers
grep -rnE "(sk-proj-|sk-ant-|ghp_|github_pat_|AKIA[0-9A-Z]{16}|BEGIN (RSA|OPENSSH) PRIVATE KEY)" "$STAGE_DIR" || true
# 3. Verify Agent Skills spec bounds (name <= 64 chars, description <= 1,024 chars, body <= 500 lines)
find "$STAGE_DIR" -name "SKILL.md" | while IFS= read -r file; do
lines=$(wc -l < "$file" | tr -d ' ')
if [ "$lines" -gt 500 ]; then
echo "[WARN] $file has $lines lines (exceeds 500-line recommendation)"
fi
doneThe Sprawl Moment: Opening a Locked-Down Corporate MacBook on Day One
On Monday morning at a new engineering job, you open a fresh MDM-enrolled corporate MacBook Pro, install Cursor, OpenAI Codex CLI, and Google Antigravity, and immediately hit a blank wall. The database migration reviewer, flaky-test bisector, and concise PR-summary skill you refined over two years are locked inside your old employer’s laptop or scattered across old personal dotfiles you cannot reach because corporate MDM blocks personal iCloud Drive and restricts SSH keys to the company GitHub Enterprise org. Every ticket in your onboarding queue suddenly takes twice as long while you try to rewrite twenty complex instructions from memory between onboarding meetings.
Day-One Provisioning Checklist Across Codex CLI, Cursor, Antigravity, and Claude Code
Provisioning a personal AI skill library on a new work machine succeeds fastest when you map every portable workflow to each agent’s user-scoped path rather than pasting rules into new employer repositories. User-scoped directories travel with your developer profile across every company repo without polluting team pull requests.
Prompttly is a skill manager for AI agents — one library for your skills and prompts that syncs into Claude Code, Codex, ChatGPT, and Claude and is one hotkey away on your Mac, so your setup follows you across every machine, repo, and tool.
Instead of rebuilding separate configuration trees in Cursor, OpenAI Codex CLI, Google Antigravity, and Claude Code by hand, verify where each agent expects personal versus repository-owned rules and check the exact token or byte limits enforced at startup:
| AI Coding Agent | Personal User Scope | Employer Repo Scope | Startup Budget & Precedence Rule |
|---|---|---|---|
| Cursor IDE | User Rules in Cursor Settings (or synced .mdc library) | .cursor/rules/*.mdc and AGENTS.md | Project .cursor/rules/*.mdc overrides general personal preferences on matching globs |
| OpenAI Codex CLI | ~/.codex/AGENTS.md or ~/.codex/AGENTS.override.md + ~/.codex/skills/ | <git-root>/AGENTS.md (or AGENTS.override.md) | Combined chain stops at project_doc_max_bytes (32 KiB default); deeper dirs override root |
| Google Antigravity | ~/.gemini/antigravity/skills/ and global user rules | .agents/skills/ and workspace GEMINI.md | Workspace rules govern repo context; personal skills remain portable across projects |
| Claude Code | ~/.claude/skills/<name>/SKILL.md and ~/.claude/settings.json | .claude/skills/ and .claude/settings.json | SKILL.md <= 500 lines; 1% context window listing cap; managed-settings.json overrides all |
On macOS, pairing filesystem skill sync with Prompttly’s native hotkey palette gives you sub-200ms keyboard retrieval for prompts inside web ChatGPT, Claude Desktop, Slack, and Jira—surfaces that never read `~/.codex/skills` or `.cursor/rules`. If you maintain one canonical library across tools, follow our blueprint for a cross-agent skill library across Claude Code, Codex, Cursor, and Antigravity.
How Do Corporate MDM and Managed Agent Policies Affect Personal Skills?
Corporate MDM profiles and managed agent settings take strict precedence over personal configurations, blocking unapproved MCP servers, shell auto-approvals, and external cloud drives on company hardware. Before importing personal skills or connecting an MCP server on day one, inspect which enterprise policies your new employer enforces so personal workflows align with security rules.
Every major coding agent handles layered global and enterprise rules differently:
- OpenAI Codex CLI instruction chain: As documented in the OpenAI Codex AGENTS.md guide:
"Codex reads AGENTS.md files before doing any work. By layering global guidance with project-specific overrides, you can start each task with consistent expectations, no matter which repository you open."
Codex CLI concatenates~/.codex/AGENTS.mdfirst and appends repository files down to your working directory until hitting the default32 KiBproject_doc_max_byteslimit—meaning verbose personal global rules can starve repo-specific instructions if left unpruned. Read our deep dive on AGENTS.md across Codex, Cursor, and Antigravity for tuning details. - Claude Code managed settings and lazy-loading: According to the Claude Code settings documentation, enterprise admins deploy
managed-settings.jsonvia MDM or server-managed consoles that override user and project files; running/statusprints every active source andclaude doctorreports rejected entries. Meanwhile, the Claude Code skills documentation notes:"Unlike CLAUDE.md content, a skill's body loads only when it's used, so long reference material costs almost nothing until you need it."
KeepSKILL.mdunder 500 lines and watch the 1% context window listing budget so personal skills do not push employer repo skills out of discovery. - MCP transport allowlists: Many security teams whitelist specific Model Context Protocol (MCP) servers in Cursor, Google Antigravity, and Claude Code. Confirm your company’s policy before registering external MCP endpoints on a corporate laptop.
When Should You Keep a Skill Local Instead of Syncing It to Your Work Machine?
Keep personal skills off your new work machine whenever your employer operates in an air-gapped or regulated environment, forbids third-party cloud sync on corporate endpoints, or maintains conflicting engineering standards for code style and security reviews. Forcing personal habits over strict company rules creates noisy diffs and compliance friction during your first 90 days.
- Air-gapped or FedRAMP / HIPAA enclaves: If developers work inside restricted VDI sessions with zero external SaaS access, do not attempt to bridge personal cloud accounts into that boundary.
- Conflicting style and architecture conventions: When your new team ships strict
AGENTS.mdor.cursor/rules/*.mdcformatting and testing rules, disable overlapping personal rules in Cursor and Codex CLI so repo conventions win cleanly. - Side-project or consulting workflows: Keep personal product prompts and freelance templates scoped to your personal machine or browser profile rather than syncing non-work material onto an employer-owned MacBook.
Frequently Asked Questions: Migrating Personal AI Skills to a New Job
Is it legal to bring my personal AI skills and prompts to a new engineering job?
Generic engineering workflows you authored as personal craft—such as code review rubrics, unit-test generators, and refactoring checklists—are generally portable when they contain zero proprietary code, internal schemas, or confidential business logic. Anything tied to your former employer’s codebase, internal URLs, security policies, or customer data belongs to that employer and must be left behind.
How do I sanitize AI skills and Cursor rules before leaving a company?
Export only generic personal skills from your global user directories rather than cloning employer repositories. Run a pattern and entropy scan across every SKILL.md, .mdc, and AGENTS.md file to strip internal hostnames, private package scopes, API key prefixes, Jira/Linear URLs, and service names, replacing environment-specific strings with neutral placeholders.
Why does my personal AGENTS.md or SKILL.md conflict with my new employer’s repo rules?
AI coding agents layer global user instructions beneath repository-level and organization-managed policies. In OpenAI Codex CLI, deeper repository AGENTS.md files append after ~/.codex/AGENTS.md within the 32 KiB project_doc_max_bytes budget, while in Claude Code an enterprise managed-settings.json file overrides both personal and project settings.
What if corporate MDM blocks iCloud Drive or personal GitHub SSH keys on my new work MacBook?
Enterprise MDM profiles routinely disable consumer cloud drives and restrict SSH keys to corporate GitHub Enterprise orgs, which breaks dotfile repos and folder-sync workarounds on day one. Using a dedicated cross-agent skill manager like Prompttly lets you sync your personal generic skills into ~/.claude/skills, ~/.codex/skills, and your Mac hotkey palette over standard HTTPS or MCP without personal SSH access.
How fast can I rebuild a 30-skill multi-agent setup across Cursor, Codex, and Antigravity?
Manual copy-pasting and format translation across four runtimes typically takes half a day and leaves broken paths behind. When your personal skills follow the open Agent Skills SKILL.md standard (64-character name, 1,024-character description) inside a unified library, automated sync populates Cursor, Codex CLI, Google Antigravity, and Claude Code in minutes.
Next Steps for Day-One Readiness
Before your last week at a current role ends, audit your personal workflows, strip every internal URL and token, and standardize each reusable skill into clean SKILL.md or AGENTS.md packages. You can validate or rebuild any loose prompt into a compliant package with our free Claude Skill Creator, or explore more cross-agent workflows on the Prompttly resources hub and Prompttly for Mac.
Related Prompt Resources
Bring your clean personal skill library to your new work laptop
Prompttly keeps your personal skills separate from employer repos, syncs cleanly into Claude Code, Codex, ChatGPT, and Claude, and puts every sanitized workflow one sub-200ms Mac hotkey away—even when corporate MDM blocks personal iCloud or SSH keys.