Openspec Apply Change
Applies specified changes to OpenSpec documents, streamlining configuration updates and ensuring consistency across environments for improved reliability.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add openspec-apply-change npx -- -y @trustedskills/openspec-apply-change
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"openspec-apply-change": {
"command": "npx",
"args": [
"-y",
"@trustedskills/openspec-apply-change"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill applies changes described in an Open Specification (OpenSpec) to a given resource. It can modify configurations, code, or other structured data based on instructions provided within the specification. The skill understands and executes commands defined in the OpenSpec format, ensuring consistent and automated updates. This allows for repeatable and verifiable modifications across various systems.
When to use it
- Automated Configuration Updates: Apply changes to server configurations based on a standardized OpenSpec document.
- Code Refactoring: Implement code refactorings described in an OpenSpec, ensuring consistency and reducing manual errors.
- Policy Enforcement: Automatically update system policies according to specifications defined in an OpenSpec format.
- Infrastructure as Code (IaC): Modify infrastructure definitions using a declarative approach outlined in an OpenSpec.
Key capabilities
- Open Specification parsing
- Resource modification based on specification instructions
- Command execution within the specification
- Structured data manipulation
Example prompts
- "Apply the changes described in
path/to/my_openspec.ymlto my server configuration." - "Execute the refactoring steps outlined in
code_refactor.openspecon this code file." - “Update policy definitions according to the instructions in
policy_update.ospec.”
Tips & gotchas
- Ensure the Open Specification is valid and correctly formatted before applying changes. Incorrect specifications can lead to unintended consequences.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.