You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/config-reference.md
+29-4Lines changed: 29 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -798,17 +798,40 @@ Autohand supports special prefixes in the input prompt:
798
798
799
799
### Slash Commands
800
800
801
+
#### `/skills` — Package Manager
802
+
801
803
| Command | Description |
802
804
|---------|-------------|
803
805
|`/skills`| List all available skills |
804
806
|`/skills use <name>`| Activate a skill for the current session |
805
807
|`/skills deactivate <name>`| Deactivate a skill |
806
808
|`/skills info <name>`| Show detailed skill information |
809
+
|`/skills install`| Browse and install from community registry |
810
+
|`/skills install @<slug>`| Install a community skill by slug |
811
+
|`/skills search <query>`| Search the community skills registry |
812
+
|`/skills trending`| Show trending community skills |
813
+
|`/skills remove <slug>`| Uninstall a community skill |
807
814
|`/skills new`| Create a new skill interactively |
815
+
|`/skills feedback <slug> <1-5>`| Rate a community skill |
816
+
817
+
#### `/learn` — LLM-Powered Skill Advisor
818
+
819
+
| Command | Description |
820
+
|---------|-------------|
821
+
|`/learn`| Analyze project and recommend skills (quick scan) |
822
+
|`/learn --deep`| Deep-scan project (reads source files) for more targeted results |
823
+
|`/learn update`| Re-analyze project and regenerate outdated LLM-generated skills |
808
824
809
-
### Auto-Skill Generation
825
+
`/learn` uses a two-phase LLM flow:
810
826
811
-
The `--auto-skill` flag analyzes your project and generates relevant skills:
827
+
1.**Phase 1 — Analyze + Rank + Audit**: Scans your project structure, audits installed skills for redundancy/conflicts, and ranks community skills by relevance (0-100).
828
+
2.**Phase 2 — Generate** (conditional): If no community skill scores above 60, offers to generate a custom skill tailored to your project.
829
+
830
+
Generated skills include metadata (`agentskill-source: llm-generated`, `agentskill-project-hash`) so `/learn update` can detect when your codebase changes and regenerate stale skills.
831
+
832
+
### Auto-Skill Generation (`--auto-skill`)
833
+
834
+
The `--auto-skill` CLI flag generates skills without the interactive advisor flow:
812
835
813
836
```bash
814
837
autohand --auto-skill
@@ -817,9 +840,11 @@ autohand --auto-skill
817
840
This will:
818
841
1. Analyze your project structure (package.json, requirements.txt, etc.)
819
842
2. Detect languages, frameworks, and patterns
820
-
3. Generate 3-5 relevant skills using LLM
843
+
3. Generate 3 relevant skills using LLM
821
844
4. Save skills to `<project>/.autohand/skills/`
822
845
846
+
For a more targeted, interactive experience, use `/learn` inside a session instead.
847
+
823
848
Detected patterns include:
824
849
-**Languages**: TypeScript, JavaScript, Python, Rust, Go
1.**Fase 1 — Análisis + Ranking + Auditoría**: Escanea la estructura del proyecto, audita skills instalados buscando redundancias/conflictos, y clasifica skills comunitarios por relevancia (0-100).
501
+
2.**Fase 2 — Generación** (condicional): Si ningún skill comunitario obtiene más de 60 puntos, ofrece generar un skill personalizado adaptado a su proyecto.
502
+
503
+
Los skills generados incluyen metadatos (`agentskill-source: llm-generated`, `agentskill-project-hash`) para que `/learn update` pueda detectar cambios en el código y regenerar skills obsoletos.
504
+
505
+
### Generación Automática de Skills (`--auto-skill`)
506
+
507
+
El flag `--auto-skill` genera skills sin el flujo interactivo del asesor:
508
+
509
+
```bash
510
+
autohand --auto-skill
511
+
```
512
+
513
+
Esto hará:
514
+
1. Analizar la estructura del proyecto (package.json, requirements.txt, etc.)
515
+
2. Detectar lenguajes, frameworks y patrones
516
+
3. Generar 3 skills relevantes usando LLM
517
+
4. Guardar skills en `<proyecto>/.autohand/skills/`
518
+
519
+
Para una experiencia interactiva más precisa, use `/learn` dentro de una sesión.
520
+
521
+
---
522
+
470
523
## Ejemplo Completo
471
524
472
525
### Formato JSON (`~/.autohand/config.json`)
@@ -640,6 +693,7 @@ Estos flags sobrescriben la configuración del archivo:
640
693
| `--dry-run` | Vista previa sin ejecutar |
641
694
| `--unrestricted` | Sin solicitudes de aprobación |
|`/skills new`| इंटरैक्टिव रूप से नया स्किल बनाएं |
489
+
|`/skills feedback <slug> <1-5>`| कम्युनिटी स्किल को रेट करें |
490
+
491
+
#### `/learn` — LLM-संचालित स्किल सलाहकार
492
+
493
+
| कमांड | विवरण |
494
+
|-------|-------|
495
+
|`/learn`| प्रोजेक्ट का विश्लेषण करें और स्किल्स की सिफारिश करें (त्वरित स्कैन) |
496
+
|`/learn --deep`| अधिक सटीक परिणामों के लिए डीप-स्कैन (सोर्स फाइलें पढ़ता है) |
497
+
|`/learn update`| प्रोजेक्ट का पुनर्विश्लेषण करें और पुराने LLM-जनित स्किल्स को पुनर्जनित करें |
498
+
499
+
`/learn` दो-चरणीय LLM फ्लो का उपयोग करता है:
500
+
501
+
1.**चरण 1 — विश्लेषण + रैंकिंग + ऑडिट**: प्रोजेक्ट संरचना स्कैन करता है, इंस्टॉल किए गए स्किल्स की अतिरेक/विरोध के लिए ऑडिट करता है, और कम्युनिटी स्किल्स को प्रासंगिकता (0-100) के अनुसार रैंक करता है।
502
+
2.**चरण 2 — जनरेशन** (सशर्त): यदि कोई कम्युनिटी स्किल 60 से अधिक स्कोर नहीं करता, तो आपके प्रोजेक्ट के लिए अनुकूलित कस्टम स्किल जनरेट करने का प्रस्ताव देता है।
503
+
504
+
### स्वचालित स्किल जनरेशन (`--auto-skill`)
505
+
506
+
`--auto-skill` CLI फ्लैग इंटरैक्टिव सलाहकार फ्लो के बिना स्किल्स जनरेट करता है:
507
+
508
+
```bash
509
+
autohand --auto-skill
510
+
```
511
+
512
+
यह करेगा:
513
+
1. प्रोजेक्ट संरचना का विश्लेषण (package.json, requirements.txt, आदि)
514
+
2. भाषाओं, फ्रेमवर्क और पैटर्न का पता लगाना
515
+
3. LLM का उपयोग करके 3 प्रासंगिक स्किल्स जनरेट करना
516
+
4. स्किल्स को `<project>/.autohand/skills/` में सहेजना
517
+
518
+
अधिक सटीक इंटरैक्टिव अनुभव के लिए, सत्र के अंदर `/learn` का उपयोग करें।
|`/skills new`| Buat skill baru secara interaktif |
489
+
|`/skills feedback <slug> <1-5>`| Beri rating skill komunitas |
490
+
491
+
#### `/learn` — Penasihat Skill Berbasis LLM
492
+
493
+
| Perintah | Deskripsi |
494
+
|----------|-----------|
495
+
|`/learn`| Analisis proyek dan rekomendasikan skill (pemindaian cepat) |
496
+
|`/learn --deep`| Pemindaian mendalam (membaca file sumber) untuk hasil lebih akurat |
497
+
|`/learn update`| Analisis ulang proyek dan regenerasi skill LLM yang sudah usang |
498
+
499
+
`/learn` menggunakan alur LLM dua fase:
500
+
501
+
1.**Fase 1 — Analisis + Peringkat + Audit**: Memindai struktur proyek, mengaudit skill terinstal untuk redundansi/konflik, dan memberi peringkat skill komunitas berdasarkan relevansi (0-100).
502
+
2.**Fase 2 — Generasi** (kondisional): Jika tidak ada skill komunitas yang mendapat skor di atas 60, menawarkan untuk menghasilkan skill kustom yang disesuaikan dengan proyek Anda.
503
+
504
+
### Generasi Skill Otomatis (`--auto-skill`)
505
+
506
+
Flag `--auto-skill` menghasilkan skill tanpa alur penasihat interaktif:
507
+
508
+
```bash
509
+
autohand --auto-skill
510
+
```
511
+
512
+
Ini akan:
513
+
1. Menganalisis struktur proyek (package.json, requirements.txt, dll.)
514
+
2. Mendeteksi bahasa, framework, dan pola
515
+
3. Menghasilkan 3 skill relevan menggunakan LLM
516
+
4. Menyimpan skill ke `<proyek>/.autohand/skills/`
517
+
518
+
Untuk pengalaman interaktif yang lebih tepat, gunakan `/learn` dalam sesi.
519
+
520
+
---
521
+
470
522
## Contoh Lengkap
471
523
472
524
### Format JSON (`~/.autohand/config.json`)
@@ -643,6 +695,7 @@ Flag-flag ini mengganti pengaturan file konfigurasi:
643
695
| `--setup` | Jalankan wizard setup untuk mengkonfigurasi atau mengkonfigurasi ulang Autohand |
644
696
| `--sys-prompt <nilai>` | Ganti seluruh system prompt (string inline atau path file) |
645
697
| `--append-sys-prompt <nilai>` | Tambahkan ke system prompt (string inline atau path file) |
698
+
| `--auto-skill` | Otomatis menghasilkan skill berdasarkan analisis proyek (lihat juga `/learn` untuk penasihat interaktif) |
0 commit comments