test-agent-found
npx machina-cli add skill arendon1/agent-skills/test-agent-found --openclawFiles (1)
SKILL.md
392 B
test-agent-found
Workaround
Instructions
<!-- Add your skill instructions here. This is what the AI agent will read and follow. -->Examples
<!-- Provide examples of how this skill should be used. -->References
<!-- Link to documentation, APIs, or other resources the agent might need. -->Source
git clone https://github.com/arendon1/agent-skills/blob/master/skill-forge/tmp/manifest-test/.agent/skills/test-agent-found/SKILL.mdView on GitHub Overview
test-agent-found is a workaround skill designed to address issues that arise when a test agent is detected. It provides a structured approach to apply a predefined workaround, verify the outcome, and log the resolution. This helps keep automation flowing even when agents appear unexpectedly.
How This Skill Works
When invoked, the skill references its manifest to determine the applicable workaround, executes the conditional steps to apply it, and validates the result. It then records the outcome and surfaces any follow-up actions if the workaround cannot be applied.
When to Use It
- A test agent is detected mid-workflow and blocks progress.
- A known flaky path is triggered due to a test agent.
- Temporary divergence is required to maintain automation in a testing environment.
- Integration with a new agent framework reveals compatibility issues.
- A failure trace indicates the quickest path to continue is via a defined workaround.
Quick Start
- Step 1: Detect the presence of the test agent in the current workflow.
- Step 2: Invoke the test-agent-found workaround from the manifest and apply the steps.
- Step 3: Validate the outcome, log results, and escalate if manual intervention is required.
Best Practices
- Define and version the workaround steps in the skill manifest.
- Test the workaround in a safe sandbox before rolling out.
- Log outcomes and provide visibility to the team.
- Update or replace the workaround as the agent behavior evolves.
- Avoid masking root causes; track when the workaround is needed.
Example Use Cases
- In a CI pipeline, a test agent is found and the workaround allows the build to complete without full agent reconfiguration.
- A local test run encounters a stalled path due to a test agent; the workaround resumes the test execution.
- A sandbox environment demonstrates the workaround's effect before applying it in production-like flows.
- Cross-project automation maintains flow when an agent framework shows compatibility issues.
- A regression test suite completes using the defined workaround path after an agent is detected.
Frequently Asked Questions
Add this skill to your agents