Detect technologies in the current project and install matching `*-knowledge-patch` skills into `$CODEX_HOME/skills`, with an optional Codex `SessionStart` hook in repo or user scope.
Scanned 5/27/2026
Install via CLI
openskills install Nevaberry/nevaberry-plugins---
name: knowledge-patch-setup
description: Detect technologies in the current project and install matching `*-knowledge-patch` skills into `$CODEX_HOME/skills`, with an optional Codex `SessionStart` hook in repo or user scope.
---
Use this skill when the user wants to set up knowledge patches for a project or verify which patches match a repo.
## Workflow
1. Resolve the project root with:
```bash
git rev-parse --show-toplevel 2>/dev/null || pwd
```
2. Scan the project:
```bash
python3 ../../scripts/knowledge_patch_setup.py scan --project-root "<project-root>" --format json
```
3. Summarize the detected installable patches and why they matched. Mention that detection is heuristic and the user can also select any available patch manually.
4. If the user did not specify patches to install, ask. Default to all detected patches.
5. If the user did not specify a hook scope, ask whether they want:
- `repo`: write `<project-root>/.codex/hooks.json` so the hook is shared with the repo
- `user`: write `$CODEX_HOME/hooks.json` so the hook applies everywhere
- `none`: install only the skills
Default to `repo`.
6. Install the requested patches:
```bash
python3 ../../scripts/knowledge_patch_setup.py install --project-root "<project-root>" --all-detected --hook-scope repo --format json
```
If the user selected a subset, replace `--all-detected` with repeated `--patch <name>` flags.
7. Report:
- installed patch skills
- `$CODEX_HOME/skills` destination
- hook config path, if installed
- that Codex should be restarted to pick up new skills and hooks
## Notes
- Installation is additive. Preserve unrelated skills and unrelated hooks.
- Codex plugins do not currently package hooks through `.codex-plugin/plugin.json`.
- The helper script installs patch skills from the public `Nevaberry/nevaberry-plugins` repo, or from `KP_PUBLIC_REPO` / `--public-repo` during local testing.
- The helper script is the source of truth for detection and installation behavior.
No comments yet. Be the first to comment!
Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.
SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.
Python backend development expertise for FastAPI, security patterns, database operations, Upstash integrations, and code quality. Use when: (1) Building REST APIs with FastAPI, (2) Implementing JWT/OAuth2 authentication, (3) Setting up SQLAlchemy/async databases, (4) Integrating Redis/Upstash caching, (5) Refactoring AI-generated Python code (deslopification), (6) Designing API patterns, or (7) Optimizing backend performance.
Drive the full internationalization journey for a project — detect the stack, recommend a library, set up the chosen library, wrap existing strings, and optionally connect a translation platform. Use when the user asks to add or configure i18n, internationalization, localization, multi-language support, or translations — including when they explicitly mention LinguiJS, Lingui, next-intl, "wrap strings", "find hardcoded text", "make my app translatable", or "set up translations". Triggers on g...
PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.