mirror of
https://github.com/YspCoder/clawgo.git
synced 2026-05-08 05:27:30 +08:00
fix path
This commit is contained in:
@@ -428,11 +428,11 @@ Ultra-lightweight personal AI assistant written in Go, inspired by nanobot.
|
|||||||
MIT License - Free and open source
|
MIT License - Free and open source
|
||||||
|
|
||||||
## Repository
|
## Repository
|
||||||
https://github.com/sipeed/clawgo
|
https://github.com/YspCoder/clawgo
|
||||||
|
|
||||||
## Contact
|
## Contact
|
||||||
Issues: https://github.com/sipeed/clawgo/issues
|
Issues: https://github.com/YspCoder/clawgo/issues
|
||||||
Discussions: https://github.com/sipeed/clawgo/discussions
|
Discussions: https://github.com/YspCoder/clawgo/discussions
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@@ -1658,7 +1658,7 @@ func skillsHelp() {
|
|||||||
fmt.Println()
|
fmt.Println()
|
||||||
fmt.Println("Examples:")
|
fmt.Println("Examples:")
|
||||||
fmt.Println(" clawgo skills list")
|
fmt.Println(" clawgo skills list")
|
||||||
fmt.Println(" clawgo skills install sipeed/clawgo-skills/weather")
|
fmt.Println(" clawgo skills install YspCoder/clawgo-skills/weather")
|
||||||
fmt.Println(" clawgo skills install-builtin")
|
fmt.Println(" clawgo skills install-builtin")
|
||||||
fmt.Println(" clawgo skills list-builtin")
|
fmt.Println(" clawgo skills list-builtin")
|
||||||
fmt.Println(" clawgo skills remove weather")
|
fmt.Println(" clawgo skills remove weather")
|
||||||
@@ -1685,7 +1685,7 @@ func skillsListCmd(loader *skills.SkillsLoader) {
|
|||||||
func skillsInstallCmd(installer *skills.SkillInstaller) {
|
func skillsInstallCmd(installer *skills.SkillInstaller) {
|
||||||
if len(os.Args) < 4 {
|
if len(os.Args) < 4 {
|
||||||
fmt.Println("Usage: clawgo skills install <github-repo>")
|
fmt.Println("Usage: clawgo skills install <github-repo>")
|
||||||
fmt.Println("Example: clawgo skills install sipeed/clawgo-skills/weather")
|
fmt.Println("Example: clawgo skills install YspCoder/clawgo-skills/weather")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ func (si *SkillInstaller) Uninstall(skillName string) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (si *SkillInstaller) ListAvailableSkills(ctx context.Context) ([]AvailableSkill, error) {
|
func (si *SkillInstaller) ListAvailableSkills(ctx context.Context) ([]AvailableSkill, error) {
|
||||||
url := "https://raw.githubusercontent.com/sipeed/clawgo-skills/main/skills.json"
|
url := "https://raw.githubusercontent.com/YspCoder/clawgo-skills/main/skills.json"
|
||||||
|
|
||||||
client := &http.Client{Timeout: 15 * time.Second}
|
client := &http.Client{Timeout: 15 * time.Second}
|
||||||
req, err := http.NewRequestWithContext(ctx, "GET", url, nil)
|
req, err := http.NewRequestWithContext(ctx, "GET", url, nil)
|
||||||
|
|||||||
@@ -15,5 +15,5 @@ npx tsx /root/.clawgo/skills/context7/query.ts context <owner/repo> <query>
|
|||||||
|
|
||||||
Example:
|
Example:
|
||||||
```bash
|
```bash
|
||||||
npx tsx /root/.clawgo/skills/context7/query.ts context sipeed/clawgo "How does the skill system work?"
|
npx tsx /root/.clawgo/skills/context7/query.ts context YspCoder/clawgo "How does the skill system work?"
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user