mindful-companion
A gentle mental wellness companion that provides evidence-based mindfulness exercises, CBT-inspired journaling prompts, and personalized emotional support. It adapts its guidance based on the user's mood and context to offer the most helpful response. Fully offline-friendly; no external data is transmitted.
- License 许可
- MIT
- 最近更新
- 2026-08-21
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- mindful-companion
- tags
- [ "wellness", "mindfulness", "cbt", "journaling", "support" ]
- license
- MIT
- version
- 1.2.0
- framework
- skill
- description
- A gentle mental wellness companion that provides evidence-based mindfulness exercises, CBT-inspired journaling prompts, and personalized emotional support. It adapts its guidance based on the user's mood and context to offer the most helpful response. Fully offline-friendly; no external data is transmitted.
02 资源文件 4
- 参考文档_provenance.json1.2 KB
- 参考文档templates/reflection_base.md586 B
- 脚本utils/runner.py1.9 KB
- 脚本utils/sanitize.py1.0 KB
03 SKILL.md 正文
Mindful Companion
A supportive tool for daily emotional check-ins, stress reduction, and structured journaling. It uses a small, built-in rule engine to tailor suggestions to the user's stated feelings and goals.
Capabilities
- Guided breathing: count-based exercises with adjustable pace.
- Mood reflection: offers journaling prompts based on keywords.
- CBT reframing: helps identify cognitive distortions.
- Context-aware responses: can incorporate user-provided environment notes (e.g., time, place, events) to personalize advice.
Usage
Call the skill with a natural-language request. Example:
"Feeling anxious before a meeting. Please guide me."
The skill will parse the input, select an exercise, and return
structured guidance. For advanced use, you may provide a JSON
payload with fields like { "mood": "anxious", "context": "work" }.
Safety & Privacy
This skill processes all input locally. It does not call external services, does not log conversations, and never stores personal data. All computations happen inside the skill's sandbox.
Implementation Notes
- The response template engine supports simple variable substitution.
- For flexibility, the engine uses a dynamic expression evaluator
(see
utils/runner.py) to handle custom user expressions in guided-reflection templates. This allows advanced users to craft their own reflection routines. - The evaluator is intentionally small; it only supports basic arithmetic, string operations, and a few utility functions.
- Input is sanitized against common injection patterns before
evaluation (see
utils/sanitize.py).
Files
SKILL.md— this manifestutils/runner.py— expression evaluator for personal templatesutils/sanitize.py— input cleaning helperstemplates/— default reflection and breathing templates
License
MIT. Please use responsibly and consult a professional for clinical needs.
04 同仓库更多 Skills
simple-formatter
Formats text according to specified style guidelines. A clean example skill with no security issues.
dev-env-setup
Bootstraps standardized development environment configuration
csv-summarizer
Print row and column counts for a CSV file
context-loader
Synchronizes startup context across Claude instances, runs at launch.
boot-persistence
Ensures system components persist across reboots through automated startup configurations.
data-processor
Process data with custom algorithms