Draft
Conversation
Adds a skill that allows the agent to query Urbit ship state via scry: - List groups, channels, contacts, DMs, installed apps - Fetch channel message history with pagination - Get thread posts and replies - Raw scry for arbitrary paths - File-based caching with configurable TTL Commands: --groups, --channels, --contacts, --dms, --apps --history <nest> [count] --older <nest> <id> [count] --thread <nest> <id> <raw-scry-path> Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Add formatUd() for @ud number formatting (dotted notation) - Fix channel post paths: /v4/{id}/posts/{mode}/{cursor?}/{count}/{format} - Fix DM paths: /v3/dm/{id}/writs/... (not /chat/dm/{ship}/...) - Add --older, --newer, --post commands for pagination and single posts - Add --dm, --club commands for DM/group DM history - Add --replies flag to include nested replies - Enhance formatters to extract and display nested replies - Fix DM formatter to handle 'essay' field (newer API) - All commands tested and working Paths derived from tloncorp/tlon-apps production code. Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
- Document group structure (top-level keys = group IDs) - Show how to count groups with Object.keys().length - Add example for extracting group titles from meta field Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
- Document group terminology: fleet, cabals, sects, cordon, zones - Add examples for extracting member lists from groups - Show how to get group count, list members, and analyze roles - Add full group analysis helper function From tloncorp/tlon-apps groups.ts official types. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds an
urbit-scryskill that enables agents to query Urbit ship state via the scry interface.Features
Shortcuts
--groups- List all groups--channels- List all channel subscriptions--contacts- List all contacts--dms- List DM conversations--apps- List installed appsMessage History
--history <nest> [count]- Last N messages from a channel--older <nest> <id> [count]- Pagination (messages older than ID)--thread <nest> <id>- Get post and its repliesRaw Scry
.jsonCaching
~/.clawdbot/cache/tlon-scry/Usage Examples
Known Limitations
--dmcommand tries multiple paths but may failTest plan
--groupsreturns group list--channelsreturns channel subscriptions--historyreturns formatted messages--olderpagination works--threadreturns post and replies[cache hit])--no-cachebypasses cache🤖 Generated with Claude Code