wppconnect-patch
Skill by gabrielhhaber
Explains how to change WinZapp's patches on top of WPPConnect Server or its wppconnect library. It is for developers who need to fix code on the Node side.
Install wppconnect-patch
Built from the published package, never by AI.
git clone --depth 1 https://github.com/gabrielhhaber/WinZapp_Python /tmp/WinZapp_Python && mkdir -p ~/.claude/skills && cp -r /tmp/WinZapp_Python/.claude/skills/wppconnect-patch ~/.claude/skills/wppconnect-patchRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/gabrielhhaber/WinZapp_Python /tmp/WinZapp_Python && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/WinZapp_Python/.claude/skills/wppconnect-patch ~/.gemini/antigravity-cli/skills/wppconnect-patchAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill explains how to apply WinZapp fixes on top of WPPConnect Server or the wppconnect library without editing the git-ignored client/api/ clone. It says which of three patch mechanisms applies: WPPConnect Server source files, package.json dependencies, or compiled code inside node_modules.
It also lists every file that must be updated when a new patch is added, such as setup_api.py, the end-user api_setup.py dialog and the sync test. It requires the wppconnect and wa-js pair to stay pinned to exact versions and covers running setup-api and the verification tests. It is written for developers maintaining the WinZapp codebase.
Written from the project's SKILL.md and checked against it.
What it can do
- Patch WPPConnect Server sourceEdit the matching file under client/api_patches/ instead of client/api/.
- Patch package.json dependenciesOverride only the keys listed in _PATCHED_DEPENDENCY_KEYS during the merge.
- Patch compiled node_modules codeApply idempotent search-and-replace patches to five wppconnect modules in client/core/.
- Patch the wa-js bundleFix bugs in WPP.* by patching the script injected into the WhatsApp Web page.
- Update patch file listsShows the three lists that must include a new patched file.
- Rebuild after changesRun uv run setup-api, since copying files does not regenerate the compiled server.
- Run sync testsLists pytest commands that check patches and their copies stay in sync.
What you need
- uv
- Python
- Node.js
- A local clone of wppconnect-team/wppconnect-server in client/api/
Try asking
- Which patch mechanism should I use for a fix in a wppconnect controller?
- Walk me through adding a new patched file to the WinZapp API setup lists.
- What must change to move the wppconnect and wa-js pair to a new version?
Good to know
- client/api/ is overwritten by setup_api.py, so it must never be edited.
- The wppconnect and @wppconnect/wa-js pair must move together in one commit.
- Literal-match patches can silently stop working when the pinned version changes.
- CI skips some patch tests because client/api/ does not exist there.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/wppconnect-patch/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to wppconnect-patch
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
wppconnect-patch: common questions
Where do I fix a bug in WPPConnect Server?
Edit the matching file under client/api_patches/, not client/api/. The next setup_api.py run overwrites client/api/.
Why is @wppconnect/wa-version not pinned?
The source says it is an expiring catalogue of WhatsApp Web versions, so it stays unpinned.
Why does a sync test fail after pulling changes?
test_the_two_copies_of_each_patch_are_identical fails when client/api/ is behind client/api_patches/. Re-running setup-api fixes it.
How do I install wppconnect-patch?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is wppconnect-patch free?
The code is published under the GPL-3.0 licence. The service it connects to may have its own pricing.
Is wppconnect-patch safe to use?
It scores 68 of 100. Grades: maintenance A, licence C, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to wppconnect-patch?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
