在本地磁盘以分类纯 Markdown 文件保存需要长期留存的事实,与智能体内置记忆并存。
设计与多媒体
Pet Companion Journal
试用为每只宠物建立本地档案,集中管理资料、日志、照片、饮食与健康记录以及提醒。
它能做什么
默认在本地 ~/.pet-companion/ 目录下为每只宠物建立独立档案:一份 JSON 配置文件、按年月组织的 Markdown 记录、按宠物分组的 JSON 提醒,以及用于存放照片的 media 目录。可以记录档案信息、日常点滴、温馨瞬间、饮食变化与健康史,并按宠物、记录类型、时间区间或关键字检索;也能导出指定时间段的简要汇总。提醒覆盖生日、疫苗、驱虫、体检、洗澡、美容、补粮、用药和复查等类型。健康条目仅做整理归档,不会给出兽医诊断;遇到呼吸困难、抽搐、疑似中毒、大出血等紧急症状时,会建议尽快就医。
什么时候用它
- 新领养宠物时建立基础档案
- 记录换粮、添加保健品等饮食调整
- 整理就诊、疫苗、驱虫和用药记录
- 查看即将到来的驱虫或疫苗提醒
技能文档
Pet Companion Journal
Overview
Use this skill to maintain a local-first companion archive for one or more pets. Record profiles, daily moments, feeding changes, photos, health history, and reminders in a way that stays organized per pet and is easy to search later.
This skill is best for:
- creating or updating pet profiles
- recording daily logs, warm moments, and growth notes
- attaching photos and captions to a pet timeline
- tracking food, supplements, and feeding changes
- storing symptom, clinic, medication, vaccine, and deworming notes
- checking upcoming care reminders
- reviewing a pet’s recent history or exporting a summary
Workflow
1. Identify the pet first
Always determine which pet the record belongs to.
Rules:
- if the household has only one pet, you may infer the pet after a quick confirmation when needed
- if the user has multiple pets and did not specify which one, ask before writing
- for reads, prefer showing likely matches and ask only if ambiguous
Use scripts/pet_manager.py list or view to inspect existing pets.
2. Create or update the pet profile
When the user is creating a profile, collect the minimum useful fields first:
- name
- species
- birthday or approximate age
- breed if known
- gender if known
Optional fields:
- nickname
- adoption date
- neutered status
- color markings
- personality tags
- notes
- avatar photo reference
Use scripts/pet_manager.py create and update.
3. Add records by type
Use scripts/record_add.py to save records under the correct pet.
Supported record types:
daily: ordinary daily notesmoment: warm scenes, funny moments, growth milestonesphoto: a photo plus caption and optional media pathfeeding: food, supplements, quantity, feeding change noteshealth: symptoms, clinic visits, medicines, vaccines, deworming, follow-upreminder-note: notes related to reminders or care planning
If the user gives semi-structured text, store the narrative in the body and place structured fields such as symptom lists, medicine names, or scene labels inside extra.
4. Manage reminders
Use scripts/reminder_manage.py to create or list per-pet reminders.
Use scripts/reminder_check.py to find due or upcoming reminders.
Typical reminder types:
- birthday
- vaccine
- deworming
- checkup
- grooming
- bath
- refill-food
- medication
- follow-up
5. Query and review
Use scripts/record_query.py for structured retrieval.
Support filtering by:
- pet
- record type
- time range
- keyword
Use scripts/export_report.py to produce a compact summary for a time range.
Output Rules
- Keep responses warm, clear, and organized.
- For write actions, confirm what was saved and under which pet.
- For read actions, prefer concise summaries plus the most relevant entries.
- For health-related notes, record and organize them, but do not present veterinary diagnosis.
- If a photo path or detail is uncertain, label it as a note or estimate instead of pretending certainty.
Storage Rules
Default storage root: ~/.pet-companion/
For tests, demos, or shared machines, set PET_COMPANION_HOME to isolate data:
PET_COMPANION_HOME=/tmp/pet-demo python3 scripts/pet_manager.py list
Structure:
pets/: one JSON profile per petrecords/YYYY/MM/: markdown records with JSON frontmatterreminders/: one JSON reminder file per petmedia/YYYY/MM/: pet photos or attachment filesreports/: exported summaries if needed
Verification
Before publishing or after installation, run:
python3 -m py_compile scripts/*.py
python3 scripts/verify.py
The verification script uses a temporary PET_COMPANION_HOME, creates a sample
pet profile, writes a health record, queries it, creates a reminder, checks
upcoming reminders, and exports a compact report.
See:
references/data-schema.mdreferences/query-patterns.mdreferences/template-examples.mdreferences/safety-boundaries.md
Privacy and Safety
This skill is local-first. Do not share pet photos, clinic notes, or identifying details unless the user explicitly asks. This skill may organize health records, but it must not act like a veterinary diagnosis or treatment tool. If the user describes urgent symptoms, advise prompt veterinary care.
Urgent symptom examples include difficulty breathing, collapse, seizures, suspected poisoning, severe bleeding, repeated vomiting, inability to urinate, major trauma, or rapidly worsening pain. In those cases, record the note if the user asks, but keep the response focused on seeking prompt veterinary care.
常见问题
- 数据保存在哪里?
- 默认保存在本地的 ~/.pet-companion/ 目录。可以通过环境变量 PET_COMPANION_HOME 切换到其他位置,方便测试或多账户场景使用。
- 会上传宠物的照片或就诊信息吗?
- 不会。该技能采用本地优先策略,除非你明确要求,否则不会分享宠物照片、就诊记录或可识别的信息。
- 它能帮宠物看病吗?
- 不能。它只用于整理症状、就诊、用药、疫苗和驱虫等信息,不提供兽医诊断。遇到呼吸困难、昏厥、抽搐、疑似中毒等紧急情况时,会提示尽快就医。
相关技能
诊断生产力系统反复失效的根因,给出最小干预——容量测算、瓶颈定位、可靠的本地记录。
从 AdMapix API 拉取广告创意、应用、榜单和收入预估等数据,原样返回结构化 JSON。
把自然语言描述转为结构化 JSON,并由 mcp-diagram-generator MCP 服务生成 Draw.io、Mermaid 或 Excalidraw 图表文件。
以 AI 机器人身份加入视频会议,提供语音、虚拟形象与屏幕共享四种模式。
编写、调试与调优 Playwright 测试,涵盖定位器策略、追踪诊断与 CI 友好的超时配置。
harrylabsj 的更多技能
浏览全部技能淘宝与京东、拼多多、唯品会同款比价,输出可执行的购买建议。
根据美团可见的配送费、包装费、满减门槛、ETA、评价等公开信息,给出一个明确的下单、换店、凑单、再等等或不点的判断。
在下单前拆解拼多多低价:百亿补贴、拼团门槛、店铺风险、退货条款一次过。
定位技能瓶颈,把练习日志转化为可执行的下一次训练方案。
用通俗中文解读常规体检和化验报告,标注异常、分清轻重、给出下一步动作。
为盒马鲜生购物规划清单、评估鲜度、推荐配送时段,并整理手动下单步骤。