用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/hristo2612/jinn --skill sync命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | sync |
| description | Sync the latest conversation with an employee into your context |
This skill activates when the user sends /sync @employee-name. It pulls in the most recent conversation with the specified employee so you can respond with full awareness of what was discussed.
You fetch the conversation yourself using the gateway API. No magic injection - you're in control.
Gateway URL: Use the gateway URL from the "Current configuration" section of your system prompt (e.g., http://127.0.0.1:7777). Do not hardcode it - it may vary.
Extract the employee name from the user's message (e.g., /sync @jinn-dev → jinn-dev)
List all sessions to find the employee's most recent one:
curl -s $GATEWAY_URL/api/sessions | jq '[.[] | select(.employee == "EMPLOYEE_NAME")] | sort_by(.lastActivity) | reverse | .[0]'
Replace EMPLOYEE_NAME with the target and $GATEWAY_URL with the gateway URL from your system prompt. This gives you the most recent session for that employee.
Tip: Your own session ID is in the "Current session" section of your system prompt. If you want to exclude child sessions of the current session (to avoid circular references), filter with:
curl -s $GATEWAY_URL/api/sessions | jq '[.[] | select(.employee == "EMPLOYEE_NAME" and .parentSessionId != "YOUR_SESSION_ID")] | sort_by(.lastActivity) | reverse | .[0]'
curl -s $GATEWAY_URL/api/sessions/SESSION_ID | jq '.messages'
This returns all messages with role and content fields. Read through them to understand what was discussed.
After fetching and reading the conversation:
curl -s $GATEWAY_URL/api/org to see available employees.User: /sync @jinn-dev
You: [fetches sessions via API, finds jinn-dev's latest session, reads messages] "Here's what happened in the latest conversation with @jinn-dev: [summary]. Want me to follow up on anything?"
User: /sync @content-writer
You: [fetches via API] "Looking at the recent chat with @content-writer - they finished the blog draft and are waiting for review. Should I ask them to make revisions, or is it ready to publish?"