Mocking Assistant
This "Mocking Assistant" generates playful, sarcastic responses to mimic a witty conversational partner, adding humor and dynamic interaction.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add mocking-assistant npx -- -y @trustedskills/mocking-assistant
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"mocking-assistant": {
"command": "npx",
"args": [
"-y",
"@trustedskills/mocking-assistant"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The Mocking Assistant skill allows you to simulate responses from external APIs or services within your AI agent’s workflow. This is useful for testing, development, and creating controlled demonstrations without relying on live data sources. It enables the creation of predictable and repeatable interactions by providing canned responses based on specific input patterns.
When to use it
- Testing API integrations: Verify that your agent correctly handles different API responses (success, error, edge cases) in a safe environment.
- Demonstrations & Tutorials: Showcase agent functionality without needing access to external services or real data.
- Development and Debugging: Isolate specific parts of your agent’s logic by mocking dependencies.
- Simulating slow API responses: Test how your agent behaves under conditions of latency.
Key capabilities
- Canned response creation based on input patterns
- API simulation for testing purposes
- Predictable and repeatable interactions
Example prompts
- "When I ask about the weather, respond with 'The sun is shining.'"
- "If the user asks for a product price, return { 'price': 25.00 }"
- "Simulate an API error when the request includes the word 'error'."
Tips & gotchas
This skill requires understanding of input pattern matching to define appropriate canned responses. Ensure your patterns are specific enough to avoid unintended behavior and cover all expected scenarios.
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.