Add shared workspace skills for Cursor and Hermes.
Introduce gitnexus-search skill with REST CLI for remote GitNexus queries by repo name and prompt. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,62 @@
|
||||
# Workspace skills (`/home/test-user/cursor/skills`)
|
||||
|
||||
Wspólne skille dla **Cursor** i **Hermes** w ekosystemie agency-ai.
|
||||
|
||||
## Skille
|
||||
|
||||
| Skill | Wywołanie | Opis |
|
||||
|-------|-----------|------|
|
||||
| [gitnexus-search](gitnexus-search/SKILL.md) | `gitnexus-search <repo> <prompt...>` | Przeszukiwanie zdalnego GitNexus po nazwie repo |
|
||||
|
||||
## Cursor
|
||||
|
||||
Skills w tym katalogu nie są automatycznie widoczne w Cursor — utwórz symlink:
|
||||
|
||||
```bash
|
||||
mkdir -p ~/.cursor/skills
|
||||
ln -sfn /home/test-user/cursor/skills/gitnexus-search ~/.cursor/skills/gitnexus-search
|
||||
```
|
||||
|
||||
Opcjonalnie cały katalog:
|
||||
|
||||
```bash
|
||||
ln -sfn /home/test-user/cursor/skills ~/.cursor/skills-workspace
|
||||
```
|
||||
|
||||
Wymagany MCP GitNexus w `~/.cursor/mcp.json`:
|
||||
|
||||
```json
|
||||
{
|
||||
"mcpServers": {
|
||||
"gitnexus": {
|
||||
"url": "https://gitnexus.mobile.agency-ai.dev/api/mcp"
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Po symlinku: **Reload Window** + nowa sesja chatu.
|
||||
|
||||
## Hermes (m3gan)
|
||||
|
||||
W promptcie systemowym lub `INSTALL-AGENT.md` podaj ścieżkę bezwzględną do skilla:
|
||||
|
||||
```text
|
||||
/home/test-user/cursor/skills/gitnexus-search/SKILL.md
|
||||
```
|
||||
|
||||
Hermes używa REST (skrypt), gdy MCP niedostępny:
|
||||
|
||||
```bash
|
||||
python3 /home/test-user/cursor/skills/gitnexus-search/scripts/gitnexus-search.py \
|
||||
one-gateway "deploy_runner"
|
||||
```
|
||||
|
||||
Więcej: [one-gateway/docs/hermes/GITNEXUS-CLIENT.md](../one-gateway/docs/hermes/GITNEXUS-CLIENT.md).
|
||||
|
||||
## Przykład
|
||||
|
||||
```text
|
||||
gitnexus-search ai-lawyer-srvr routes_paperless admin
|
||||
gitnexus-search gateway gitnexus_workspace_dir
|
||||
```
|
||||
Reference in New Issue
Block a user