introduce skills paradigm; delete cosmik tool wrappers; UI capabilities surface
skills (new):
- bot/skills/pdsx-fundamentals/SKILL.md — base skill: how to use pdsx for
CRUD on arbitrary atproto lexicons, lexicon discovery, consent layer,
owner-gating mechanism. referenced by domain-specific skills.
- bot/skills/cosmik-records/ — domain skill for network.cosmik.* writes:
SKILL.md (entry point) + CARD-NOTE.md + CARD-URL.md + CONNECTION.md as
per-record-type resources loaded on demand.
- evals/test_skills.py — minimal eval verifying phi loads cosmik-records
when asked to save a URL, then constructs a valid record via
mcp__pdsx__create_record.
tool deletions (replaced by the skill):
- src/bot/tools/cosmik.py removed entirely (save_url, create_connection)
- import + register call removed from tools/__init__.py
- _create_cosmik_record helper moved out of tools/_helpers.py to a focused
bot/core/cosmik.py — it's only used by agent.py:process_review now (an
internal pipeline, not phi's surface). function-level imports in
process_review hoisted to module top.
- [SEMBLE] block reduced to pure state ("N collections, M cards") — skill
awareness is the SkillsToolset preamble's job, not ours.
infra for the UI cockpit (matches TOOL-SPRAWL.md proposal):
- /api/abilities endpoint introspects the agent's registered tools live;
cached at process lifetime since tools register at startup.
- bot/ui/activity_router extracted from main.py.
- web/src/lib/abilities.ts simplified to plain capability names; the
cockpit can switch to fetching from /api/abilities now.
- significant SvelteKit overhaul: replaced legacy cards/routes with a
HUD-style interface (Hud, Atlas, Constellation, Logbook, etc.).
docs / catalogue updates:
- TOOL-SPRAWL.md inventory current; cosmik.py noted as removed.
- docs/memory.md public-memory section now points at the skill, not
the deleted tools.
- skills/publish-blog/SKILL.md cross-reference updated.
104 tests pass (102 unit + 2 skills evals).