@@ -53,15 +53,21 @@ persistence alongside `preferred_model`.
5353 The idea says: *"Reference files, skills, agents from the working directory and
5454 global community configs with `@` in prompt input."*
5555
56-Currently `getFileCompletions()` in `src/cli/input.ts` only scans `cwd` with
57-`Bun.Glob`, and `resolveFileRefs()` in `src/agent/agent.ts` (line 501) only reads
58-files relative to `cwd` or as absolute paths. Global skill/agent files under
59-`~/.agents/` (the convention referenced in the idea from `skills.sh`) are never
60-surfaced.
56+Skills:
6157
62-**Fix:**
63-- Extend `getFileCompletions()` to also scan `~/.agents/` for skill/agent files and
64- surface them as `@~/.agents/<name>` completions alongside local results.
65-- In `resolveFileRefs()`, resolve `@`-refs that start with `~/` or match a known
66- global skill name against `homedir() + "/.agents/"` in addition to `cwd`.
67-- Optionally distinguish global refs visually in Tab-completion output.
58+- Should autocomplete from global `~/.agents/skills` and the local agents folder.
59+
60+Custom Agents:
61+
62+- [Claude's flow](https://code.claude.com/docs/en/sub-agents)
63+- [Opencode's flow](https://opencode.ai/docs/agents/#options)
64+
65+Let's implement our own with config in `~/.agents/agents/`. Skip the `/agent` command.
66+
67+---
68+
69+Custom commands:
70+
71+https://opencode.ai/docs/commands/ I want to copy this approach to custom commands.
72+
73+Let's also create a local command to this repo, `/search` that fires a small model to explore the codebase for the arguments given.