skills: load ~/.agents/skills; /skills lists skills and searched dirs
ci / check (pull_request) Canceled after 0s
ci / check (push) Canceled after 0s

This commit is contained in:
hermes committed 2026-09-30 22:24:41 +00:00
1 parent 35037caa2c
commit 1d1d381516
5 files changed
+62 -7

No files matched your search

+4
View File
@@ -8,6 +8,8 @@ tmp = tempfile.mkdtemp()
os.makedirs(f"{tmp}/home/.hx"); os.makedirs(f"{tmp}/repo")
open(f"{tmp}/home/.hx/auth.json", "w").write(json.dumps({"claude": {"access": "fake-token", "refresh": "r", "expires": 99999999999999}}))
open(f"{tmp}/repo/notes.md", "w").write("NOTES\n")
os.makedirs(f"{tmp}/home/.agents/skills/deploy")
open(f"{tmp}/home/.agents/skills/deploy/SKILL.md", "w").write("---\nname: deploy\ndescription: ship it\n---\nBODY\n")
time.sleep(0.5)
pid, fd = pty.fork()
@@ -45,6 +47,8 @@ def check(label, needle):
pump(1.5)
check("startup footer", "Claude")
send(b"/skills\r")
check("skills from ~/.agents", "/deploy — ship it")
send(b"@not"); send(b"\t")
check("tab completion", "es.md")
send(b"\x15") # ctrl-u