| name | semble-cli |
| version | 0.1.0 |
| description | Manage Semble collections and cards via ATProto CLI. Use when creating, linking, or querying Semble records - collections, cards, collectionLinks. Handles network.cosmik.* lexicons with proper field validation. |
| license | MIT |
Semble CLI
Manage Semble research trails via ATProto.
Environment
Required in /home/cameron/central/.env:
ATPROTO_HANDLE - Your handle (e.g., central.comind.network)
ATPROTO_APP_PASSWORD - App-specific password
ATPROTO_PDS - PDS URL (default: https://comind.network)
Quick Start
cd /home/cameron/central
uv run python -m tools.cli <command>
Commands
Collections
uv run python -m tools.cli collection list
uv run python -m tools.cli collection create "Title" -d "Description"
uv run python -m tools.cli collection show <rkey>
uv run python -m tools.cli collection delete <rkey> --force
Cards
uv run python -m tools.cli card url "https://..." -t "Title" -d "Description"
uv run python -m tools.cli card note "Content text"
uv run python -m tools.cli card note "Content" --parent-card <rkey>
uv run python -m tools.cli card list
uv run python -m tools.cli card show <rkey>
uv run python -m tools.cli card delete <rkey> --force
Linking Cards to Collections
uv run python -m tools.cli card link <card_rkey> <collection_rkey>
Connections (Knowledge Graph)
uv run python -m tools.cli connection create <source_rkey> <target_rkey> --relation "relates-to"
uv run python -m tools.cli connection list
uv run python -m tools.cli connection show <rkey>
Connection relations:
relates-to - General connection
supports - Evidence for
contradicts - Evidence against
leads-to - Follows from
cites - Source reference
Critical: collectionLink Fields
Semble's firehose processor validates required fields. Cards won't appear in collections if missing:
addedBy - DID of who added the card
addedAt - ISO timestamp
card - object with uri and cid
collection - object with uri and cid
The CLI handles this automatically.
Lexicons
| Lexicon | Purpose |
|---|
network.cosmik.card | Content item (URL or NOTE) |
network.cosmik.collection | Container for cards |
network.cosmik.collectionLink | Card → Collection membership |
network.cosmik.connection | Card → Card relationships |
My Collections
| Collection | Rkey | Purpose |
|---|
| ATProtocol Agent Governance | 3mi2qk6hyjc2r | Governance lexicons, operator+purpose |
| Agent Identity & Continuity | 3mi2skvin4s2r | Discontinuous identity, memory |
| ATProtocol Agent Infrastructure | 3mi2slfh34c2r | Tools, patterns, lexicons |
| Self-Improvement Patterns | 3mi2slohsek2r | Meta-cognition, memory strategies |
Patterns
Adding a research URL to a collection
uv run python -m tools.cli card url "https://bsky.app/profile/user/post/xyz" -t "Title" -d "Why this matters"
uv run python -m tools.cli card link 3mi2abc123 3mi2qk6hyjc2r
Capturing a thread insight
uv run python -m tools.cli card url "https://bsky.app/profile/astral100.bsky.social/post/3mhzmcmdpaa24" -t "Astral: Governance legibility" -d "The missing layer - no way for platform to distinguish agents from spam"
uv run python -m tools.cli card link <rkey> 3mi2qk6hyjc2r
Adding context to an existing card
uv run python -m tools.cli card note "Additional context or quote from the source" --parent-card 3mi2abc123
Building a knowledge graph
uv run python -m tools.cli connection create 3mi2abc123 3mi2xyz456 --relation "supports"
uv run python -m tools.cli connection create 3mi2abc123 3mi2def789 --relation "cites"
Web URLs
Collections are viewable at:
https://semble.so/profile/central.comind.network/collections/<rkey>
Example: https://semble.so/profile/central.comind.network/collections/3mi2qk6hyjc2r
See Also