.agent/skills/test-copilot-pipe/SKILL.md
Automotive deployment and testing of GitHub Copilot SDK Pipe plugin for frontend/backend status stability.
npx skillsauth add fu-jie/openwebui-extensions test-copilot-pipeInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This is a universal testing framework for publishing the latest github_copilot_sdk.py (Pipe) code to a local OpenWebUI instance and verifying it via an automated agent (browser_subagent).
| Attribute | Fixed Value |
|------|--------|
| Deployment Script | /Users/fujie/app/python/oui/openwebui-extensions/scripts/deploy_pipe.py |
| Python Path | /opt/homebrew/Caskroom/miniconda/base/envs/ai/bin/python3 |
| Test URL | http://localhost:3003/?model=github_copilot_official_sdk_pipe.github_copilot_sdk-gpt-4.1 |
Before triggering the test, you must define the purpose of this test turn. Example: Modified tool calling logic -> Test prompt should trigger a specific tool; observe if the tool executes and returns the correct result.
Use the run_command tool to execute the fixed update task:
/opt/homebrew/Caskroom/miniconda/base/envs/ai/bin/python3 /Users/fujie/app/python/oui/openwebui-extensions/scripts/deploy_pipe.py
Mechanism:
deploy_pipe.pyautomatically loads the API Key fromscripts/.envin the same directory. Verification: Look for✅ Successfully updated... version X.X.Xor✅ Successfully created.... If a 401 error occurs, remind the user to generate a new API Key in OpenWebUI and update.env.
Use the browser_subagent tool. You must fill in the [Dynamic Content] slots based on Step 1:
Task:
1. Access The Fixed URL: http://localhost:3003/?model=github_copilot_official_sdk_pipe.github_copilot_sdk-gpt-4.1
2. RELIABILITY WAIT: Wait until the page fully loads. Wait until the chat input text area (`#chat-input`) is present in the DOM.
3. ACTION - FAST INPUT: Use the `execute_browser_javascript` tool to instantly inject the query and submit it. Use exactly this script format to ensure stability:
`const input = document.getElementById('chat-input'); input.value = "[YOUR_DYNAMIC_TEST_PROMPT]"; input.dispatchEvent(new Event('input', { bubbles: true })); const e = new KeyboardEvent('keydown', { key: 'Enter', code: 'Enter', keyCode: 13, which: 13, bubbles: true }); input.dispatchEvent(e);`
4. WAITING: Wait patiently for the streaming response to stop completely. You should wait for the Stop button to disappear, or wait for the system to settle (approximately 10-15 seconds depending on the query).
5. CHECK THE OUTCOME: [List the phenomena you expect to see, e.g., status bar shows specific text, tool card appears, result contains specific keywords, etc.]
6. CAPTURE: Take a screenshot of the settled state to prove the outcome.
7. REPORT: Report the EXACT outcome matching the criteria from step 5.
development
Commit and push code to GitHub, then publish to OpenWebUI official marketplace without updating version. Use when fixing bugs or optimizing performance that doesn't warrant a version bump.
tools
Automatically publishes plugin update posts to openwebui.com.
tools
Automates version upgrades and changelog synchronization across 7+ files (Code, READMEs, Docs). Use when a plugin is ready for release to ensure version consistency.
development
Instructions for analyzing core components source code in the local environment.