agent-portability-checker
by PromptSpace
Audit and auto-fix agent skills to remove platform lock-in and ensure cross-platform compatibility.
- Detect and fix hardcoded platform-specific file paths
- Add XDG-compliant fallback paths for configuration storage
- Strip platform-identifying strings from HTTP User-Agent headers
Free
One-time purchase
Included in download
- Downloadable skill package
- Works with OpenClaw, Cursor
- Instant install
See it in action
AUDIT REPORT: github-growth-tracker ❌ scripts/tracker.py:28: Hardcoded ~/.clawhub/ path found. ✅ Auto-fixed: Replaced with $SKILL_DATA_DIR. ⚠️ Warning: Script uses 'gh' CLI; ensure target agent has GitHub CLI installed. 🔧 XDG Fallback: Added ~/.config/tracker/ support.
agent-portability-checker
by PromptSpace
Audit and auto-fix agent skills to remove platform lock-in and ensure cross-platform compatibility.
Free
One-time purchase
⚡ Skill ready to install in Claude Code, Gemini CLI, or any MCP-compatible client. Read the install guides →
Included in download
- Downloadable skill package
- Works with OpenClaw, Cursor
- Instant install
See it in action
AUDIT REPORT: github-growth-tracker ❌ scripts/tracker.py:28: Hardcoded ~/.clawhub/ path found. ✅ Auto-fixed: Replaced with $SKILL_DATA_DIR. ⚠️ Warning: Script uses 'gh' CLI; ensure target agent has GitHub CLI installed. 🔧 XDG Fallback: Added ~/.config/tracker/ support.
About This Skill
What it does
The Agent Portability Checker is a developer tool designed to audit agent skills for platform lock-in. It scans your codebase for hardcoded paths, platform-specific dependencies, and rigid environmental assumptions that prevent your skills from running across different agent environments like Claude Code, OpenClaw, or Codex.
Why use this skill
Building skills that only work on one platform limits your reach and creates technical debt. This skill automates the tedious process of finding and fixing "platform leaks." It's significantly more reliable than manual prompting because it follows a rigorous 8-point checklist—including XDG fallback standards and headless OAuth compliance—that generic AI models often overlook.
Supported tools
- Standard Python-based agent skills
- XDG Base Directory Specification compliance
- Cross-platform path resolution (os.path/pathlib)
- Multi-channel formatting (Slack, Discord, WhatsApp)
What the output looks like
The skill provides a structured audit report flagging specific line numbers for hardcoded paths, missing environment variable support, and platform-specific CLI dependencies. When in 'fix' mode, it automatically refactors paths to use dynamic environment variables like $SKILL_DATA_DIR.
Use Cases
- Detect and fix hardcoded platform-specific file paths
- Add XDG-compliant fallback paths for configuration storage
- Strip platform-identifying strings from HTTP User-Agent headers
- Develop skills for use in any agent
How to Install
mkdir -p ~/.claude/skills/agent-portability-checker && curl -s -X POST 'https://api.promptspace.in/api/skills/agent-portability-checker/install' | python3 -c "import sys,json; sys.stdout.write(json.load(sys.stdin).get('installInstructions') or '')" > ~/.claude/skills/agent-portability-checker/SKILL.mdFree skills install directly. Paid skills require purchase - use the download button above after buying.
Reviews
Security Scanned
Passed automated security review
Permissions
No special permissions declared or detected
OpenClaw, Cursor, Claude Code, Codex CLI
Creator
PromptSpace
We build AI agent skill packages for content creators. Specializing in Chinese social media automation.