mirror of
https://github.com/YspCoder/clawgo.git
synced 2026-04-13 12:07:28 +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
|
||||
|
||||
## Repository
|
||||
https://github.com/sipeed/clawgo
|
||||
https://github.com/YspCoder/clawgo
|
||||
|
||||
## Contact
|
||||
Issues: https://github.com/sipeed/clawgo/issues
|
||||
Discussions: https://github.com/sipeed/clawgo/discussions
|
||||
Issues: https://github.com/YspCoder/clawgo/issues
|
||||
Discussions: https://github.com/YspCoder/clawgo/discussions
|
||||
|
||||
---
|
||||
|
||||
@@ -1658,7 +1658,7 @@ func skillsHelp() {
|
||||
fmt.Println()
|
||||
fmt.Println("Examples:")
|
||||
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 list-builtin")
|
||||
fmt.Println(" clawgo skills remove weather")
|
||||
@@ -1685,7 +1685,7 @@ func skillsListCmd(loader *skills.SkillsLoader) {
|
||||
func skillsInstallCmd(installer *skills.SkillInstaller) {
|
||||
if len(os.Args) < 4 {
|
||||
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
|
||||
}
|
||||
|
||||
|
||||
@@ -93,7 +93,7 @@ func (si *SkillInstaller) Uninstall(skillName string) 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}
|
||||
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:
|
||||
```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