Interactive configuration and onboarding skill for Cursor Agent Factory settings
Interactive configuration and onboarding skill for Antigravity Agent Factory settings
This skill provides interactive configuration and onboarding for the Antigravity Agent Factory. It guides users through setting up all system settings including tool paths, credentials, knowledge evolution preferences, and platform-specific configurations.
Provide a single, unified configuration experience that:
This skill is activated when:
Automatically detect the current environment:
detection_tasks:
platform:
action: Detect operating system (Windows, Linux, macOS)
output: Platform identifier and shell type
python:
action: Find Python installation
checks:
- PYTHON_PATH environment variable
- cursor-factory conda environment
- System Python (python3, python.exe)
output: Python path and version
git:
action: Find Git installation
checks:
- GIT_PATH environment variable
- git in PATH
- Common installation paths
output: Git path and version
other_tools:
action: Detect additional tools
tools: [conda, pip, pytest, gh]
output: Tool availability status
Show the user what has been detected:
## Detected Configuration
| Setting | Value | Source |
||-|--|
| Platform | {platform} | Auto-detected |
| Python | {python_path} | {source} |
| Git | {git_path} | {source} |
| ...
## Missing or Unverified
- [ ] GitHub Token (required for knowledge updates)
- [ ] NPM Token (optional, for JS/TS updates)
Guide user through configuring each section:
tool_configuration:
python:
question: "Python path detected: {path}. Is this correct?"
options:
- Use detected path
- Specify different path
- Use conda environment
validation: Check Python version >= 3.10
git:
question: "Git path detected: {path}. Is this correct?"
options:
- Use detected path
- Specify different path
validation: Check git --version works
credential_configuration:
github_token:
question: "Enter GitHub Personal Access Token for knowledge updates"
hint: "Create at https://github.com/settings/tokens"
required_scopes: [public_repo, read:org]
storage: Environment variable reference (${GITHUB_TOKEN})
validation: Test API access
npm_token:
question: "Enter NPM token (optional, for JS/TS package updates)"
hint: "Create at https://www.npmjs.com/settings/tokens"
optional: true
storage: Environment variable reference (${NPM_TOKEN})
knowledge_evolution_configuration:
mode:
question: "How should knowledge updates be handled?"
options:
- name: Stability First
value: stability_first
description: Lock versions, explicit updates only
- name: Awareness Hybrid (Recommended)
value: awareness_hybrid
description: Notify of updates, user approves
- name: Freshness First
value: freshness_first
description: Auto-update with rollback option
- name: Subscription
value: subscription
description: Subscribe to specific stacks/topics
sources:
question: "Which knowledge sources should be enabled?"
multi_select: true
options:
- GitHub Trending & Releases
- Official Framework Documentation
- Package Registries (PyPI, NPM)
- Community Curated Sources
- User Feedback from Projects
subscriptions:
when: mode == subscription
question: "Which topics should you subscribe to?"
hint: "Use glob patterns like python-*, ai-*"
examples: ["python-*", "fastapi-*", "ai-*", "react-*"]
Validate all settings before saving:
validation_steps:
schema_validation:
action: Validate against settings-schema.json
on_error: Show specific validation errors
tool_validation:
action: Test each tool path
tests:
- python --version
- git --version
on_error: Warn but allow save
credential_validation:
action: Test API credentials
tests:
- GitHub: GET /rate_limit
- NPM: npm whoami (if token provided)
on_error: Warn but allow save
knowledge_validation:
action: Verify knowledge evolution settings
checks:
- Mode is valid
- Sources have at least one enabled
- Subscriptions are valid patterns
Save validated configuration:
save_actions:
backup:
action: Backup existing settings.json if exists
path: settings.json.bak.{timestamp}
save:
action: Write new settings.json
path: {directories.config}/settings.json
migrate_legacy:
when: tools.json exists
action: Rename to tools.json.migrated
report:
action: Show configuration summary
include:
- What was configured
- What credentials are set
- Knowledge evolution mode
- Next steps
The skill creates/updates {directories.config}/settings.json:
{
"$schema": "./settings-schema.json",
"version": "1.0.0",
"system": {
"factory_version": "2.0.0",
"platform": "windows"
},
"tools": {
"python": {
"path": "C:\\App\\Anaconda\\envs\\cursor-factory\\python.exe",
"env_var": "PYTHON_PATH",
"min_version": "3.10",
"description": "Python 3.10+ interpreter"
},
"git": {
"path": "C:\\Program Files\\Git\\bin\\git.exe",
"env_var": "GIT_PATH",
"description": "Git version control"
}
},
"credentials": {
"github_token": "${GITHUB_TOKEN}",
"npm_token": "${NPM_TOKEN}"
},
"knowledge_evolution": {
"mode": "awareness_hybrid",
"check_on_startup": true,
"auto_update": false,
"notify_updates": true,
"update_channel": "stable",
"sources": {
"github_trending": true,
"official_docs": true,
"package_registries": true,
"community_curated": true,
"user_feedback": true
}
},
"llm": {
"primary_model": "gemini-2.5-flash",
"preview_model": "gemini-3-flash-preview",
"fallback_model": "gemini-2.5-flash-lite",
"default_temperature": 0.0
}
}
Provide instructions for setting environment variables:
# Set GitHub token
[Environment]::SetEnvironmentVariable("GITHUB_TOKEN", "ghp_xxx...", "User")
# Set NPM token (optional)
[Environment]::SetEnvironmentVariable("NPM_TOKEN", "npm_xxx...", "User")
# Verify
$env:GITHUB_TOKEN
# Add to ~/.bashrc or ~/.zshrc
export GITHUB_TOKEN="ghp_xxx..."
export NPM_TOKEN="npm_xxx..."
# Apply changes
source ~/.bashrc
| Error | Resolution | |-|| | Python not found | Provide installation instructions | | Git not found | Provide installation instructions | | Invalid token | Show how to create valid token | | Schema validation failed | Show specific errors, offer correction | | Permission denied | Request elevated permissions |
Configuration is complete when:
update-knowledge - Uses configuration to fetch updatesgrounding-verification - May need tool pathsrequirements-gathering - May trigger configuration if not setThis skill ensures the Antigravity Agent Factory is properly configured for optimal operation.
This skill should be used when strict adherence to the defined process is required.
npx skills add gitwalter/configuring-systems下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer