AI agent skills related to using social media
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add send-dm affordance to read-dms.sh output

After displaying messages, print a ready-to-use send-dm.sh command
with the convo ID pre-filled. Implements the agentic markdown hypermedia
pattern: reading a conversation now surfaces the reply affordance.

Signed-off-by: Claude <claude@notjack.space>

Claude 98c8e275 6031ed0d

+4
+4
bluesky/read-dms.sh
··· 39 39 import json, sys 40 40 41 41 my_did = '${MY_DID}' 42 + script_dir = '${SCRIPT_DIR}' 43 + convo_id = '${CONVO_ID}' 42 44 data = json.load(sys.stdin) 43 45 for m in reversed(data.get('messages', [])): 44 46 sender = m.get('sender', {}).get('did', '?') ··· 47 49 ts = m.get('sentAt', '') 48 50 print(f'{ts} | {who}: {text}') 49 51 print() 52 + print('---') 53 + print(f'To reply: bash {script_dir}/send-dm.sh {convo_id} \"your message here\"') 50 54 " 51 55 52 56 # Record that we read this conversation, so send-dm.sh can verify context was loaded