@intentsolutionsio/over-50s-health 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/plugin.json +11 -0
- package/LICENSE +21 -0
- package/README.md +194 -0
- package/agents/advisor.md +113 -0
- package/package.json +38 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "over-50s-health",
|
|
3
|
+
"version": "3.2.0",
|
|
4
|
+
"minCliVersion": "2.0.73",
|
|
5
|
+
"description": "Evidence-based health, fitness, nutrition, and longevity guidance for adults 50+",
|
|
6
|
+
"author": { "name": "Alister Lewis-Bowen", "url": "https://github.com/ali5ter" },
|
|
7
|
+
"homepage": "https://github.com/ali5ter/over-50s-health-advisor",
|
|
8
|
+
"repository": "https://github.com/ali5ter/over-50s-health-advisor",
|
|
9
|
+
"license": "MIT",
|
|
10
|
+
"keywords": ["health", "fitness", "nutrition", "longevity", "50+"]
|
|
11
|
+
}
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Alister Lewis-Bowen
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
# Over-50s Health Advisor
|
|
2
|
+
|
|
3
|
+
A Claude Code Agent definition for evidence-based, age-appropriate health, fitness, nutrition, and longevity guidance
|
|
4
|
+
for adults 50+. The agent works with local context files only and always recommends confirming advice with a healthcare
|
|
5
|
+
professional.
|
|
6
|
+
|
|
7
|
+
## Features
|
|
8
|
+
|
|
9
|
+
- Evidence-based guidance with citations and a Sources section
|
|
10
|
+
- Safety boundaries and red-flag referral policy
|
|
11
|
+
- Local context management via Markdown files
|
|
12
|
+
- Install via Claude Code plugin system (`/plugin install over-50s-health@ali5ter`)
|
|
13
|
+
- Automatic context file creation on first run
|
|
14
|
+
|
|
15
|
+
## Repository structure
|
|
16
|
+
|
|
17
|
+
This repository contains the agent definition and context templates for distribution. When installed via the plugin
|
|
18
|
+
system, the agent is managed by Claude Code and your personal context files are stored in your home directory.
|
|
19
|
+
|
|
20
|
+
```text
|
|
21
|
+
agents/
|
|
22
|
+
advisor.md # Agent definition (source)
|
|
23
|
+
context/
|
|
24
|
+
templates/ # Reference context templates
|
|
25
|
+
INITIAL_USER_INFORMATION.md
|
|
26
|
+
CLIENT_HEALTH_CONTEXT.md
|
|
27
|
+
CLIENT_PREFERENCES.md
|
|
28
|
+
SESSION_NOTES.md
|
|
29
|
+
SOURCES.md
|
|
30
|
+
README.md
|
|
31
|
+
.claude-plugin/
|
|
32
|
+
plugin.json # Plugin manifest
|
|
33
|
+
hooks/
|
|
34
|
+
hooks.json # SessionStart hook (template sync)
|
|
35
|
+
hooks-handlers/
|
|
36
|
+
sync-templates.sh # Copies templates from plugin cache to ~/.claude/over-50s-health-advisor/templates/
|
|
37
|
+
migrate # Migration script for v2.x users
|
|
38
|
+
README.md
|
|
39
|
+
LICENSE
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
After installation, your personal context files are stored at:
|
|
43
|
+
|
|
44
|
+
```text
|
|
45
|
+
~/.claude/over-50s-health-advisor/
|
|
46
|
+
context/ # Your personal context files (auto-created on first run)
|
|
47
|
+
├── INITIAL_USER_INFORMATION.md
|
|
48
|
+
├── CLIENT_HEALTH_CONTEXT.md
|
|
49
|
+
├── CLIENT_PREFERENCES.md
|
|
50
|
+
├── SESSION_NOTES.md
|
|
51
|
+
└── SOURCES.md
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
## Requirements
|
|
55
|
+
|
|
56
|
+
- Claude Code CLI v2.0.73 or later
|
|
57
|
+
- Uses Claude Opus 4.6 by default for highest reasoning quality; override with `/model` if preferred
|
|
58
|
+
|
|
59
|
+
## Install
|
|
60
|
+
|
|
61
|
+
Inside Claude Code, run:
|
|
62
|
+
|
|
63
|
+
```text
|
|
64
|
+
/plugin marketplace add ali5ter/claude-plugins
|
|
65
|
+
/plugin install over-50s-health@ali5ter
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
The first time you start a health conversation, the agent automatically creates your context files at
|
|
69
|
+
`~/.claude/over-50s-health-advisor/context/`.
|
|
70
|
+
|
|
71
|
+
## Uninstall
|
|
72
|
+
|
|
73
|
+
Inside Claude Code, run:
|
|
74
|
+
|
|
75
|
+
```text
|
|
76
|
+
/plugin uninstall over-50s-health@ali5ter
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
This removes the plugin and agent. Your personal context files are **not** removed. To delete them:
|
|
80
|
+
|
|
81
|
+
```bash
|
|
82
|
+
rm -rf ~/.claude/over-50s-health-advisor
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
## Migrating from v2.x
|
|
86
|
+
|
|
87
|
+
If you previously installed via `./install.sh`, run the migration script from this repo:
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
./migrate
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
This removes the old manually-installed agent file. Your context files are preserved. Then install via the plugin
|
|
94
|
+
commands above.
|
|
95
|
+
|
|
96
|
+
## Usage
|
|
97
|
+
|
|
98
|
+
After installation, context files are automatically created at `~/.claude/over-50s-health-advisor/context/` on your
|
|
99
|
+
first conversation.
|
|
100
|
+
|
|
101
|
+
1. Fill in `~/.claude/over-50s-health-advisor/context/INITIAL_USER_INFORMATION.md` and `CLIENT_PREFERENCES.md`
|
|
102
|
+
with your information.
|
|
103
|
+
2. Keep `CLIENT_HEALTH_CONTEXT.md` and `SESSION_NOTES.md` current as new information is shared with the agent.
|
|
104
|
+
3. Maintain `SOURCES.md` as a curated reference list (the agent will add sources; you can remove low-quality ones
|
|
105
|
+
and add high-quality evidence).
|
|
106
|
+
4. Use the agent from any directory in Claude Code. The agent will read and update these context files automatically.
|
|
107
|
+
5. Keep the "Last updated" dates accurate in each file.
|
|
108
|
+
|
|
109
|
+
## Invoking the Agent
|
|
110
|
+
|
|
111
|
+
The health advisor agent is invoked automatically when you ask a health-related question in Claude Code. You can
|
|
112
|
+
also target it directly using the `--agent` flag:
|
|
113
|
+
|
|
114
|
+
```bash
|
|
115
|
+
claude --agent over-50s-health:advisor
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
This sets the agent as the preferred delegate for the session. Claude Code routes health and wellness queries to it
|
|
119
|
+
automatically; for anything else, the default assistant responds.
|
|
120
|
+
|
|
121
|
+
Alternatively, just start Claude Code normally and ask a health question — the agent will activate based on your
|
|
122
|
+
query.
|
|
123
|
+
|
|
124
|
+
## Starting a Conversation
|
|
125
|
+
|
|
126
|
+
When you send your first message (even just "Hi"), the agent reads your context files and greets you with a brief
|
|
127
|
+
summary of your current health focus. If context files are missing, it will create them and prompt you to fill in
|
|
128
|
+
your initial information.
|
|
129
|
+
|
|
130
|
+
Once you've filled in your initial context files, you can begin interacting with the agent. Here are some ways to start:
|
|
131
|
+
|
|
132
|
+
**Initial Engagement:**
|
|
133
|
+
|
|
134
|
+
- "Where do you see the context files?" — the agent will analyze your context and provide a summary of your health
|
|
135
|
+
profile, helping establish rapport.
|
|
136
|
+
- "Can you review my health information and suggest areas to focus on?"
|
|
137
|
+
- "What do you know about me so far?"
|
|
138
|
+
|
|
139
|
+
**Direct Queries:**
|
|
140
|
+
|
|
141
|
+
- "What strength training program would you recommend for me?"
|
|
142
|
+
- "Can you suggest a weekly meal plan that supports my goals?"
|
|
143
|
+
- "How can I improve my metabolic health based on my recent labs?"
|
|
144
|
+
- "What mobility exercises should I prioritize?"
|
|
145
|
+
|
|
146
|
+
**Specific Requests:**
|
|
147
|
+
|
|
148
|
+
- "Review my recent blood panel and explain what the trends mean"
|
|
149
|
+
- "Create a 4-week progressive workout plan for me"
|
|
150
|
+
- "Suggest supplements appropriate for my age and health status"
|
|
151
|
+
|
|
152
|
+
The agent will read your context files, provide evidence-based guidance with citations, and update your context files
|
|
153
|
+
as you share new information.
|
|
154
|
+
|
|
155
|
+
## Mobile and voice access
|
|
156
|
+
|
|
157
|
+
The agent can be used hands-free from a phone or tablet using two Claude Code features:
|
|
158
|
+
|
|
159
|
+
**Remote Control** — continues a local Claude Code session on any device:
|
|
160
|
+
|
|
161
|
+
1. Start a session on your Mac with the advisor agent active.
|
|
162
|
+
2. Run `/remote-control` to generate a session URL and QR code.
|
|
163
|
+
3. Scan the QR code in the Claude app or open the URL in a browser on your phone.
|
|
164
|
+
4. Your phone controls the local session with full access to your context files.
|
|
165
|
+
|
|
166
|
+
Your computer must stay on and the session must remain open. See the
|
|
167
|
+
[Claude Code Remote Control docs](https://code.claude.com/docs/en/remote-control) for details.
|
|
168
|
+
|
|
169
|
+
**Voice input** — speak your queries instead of typing:
|
|
170
|
+
|
|
171
|
+
Run `/voice` in your Claude Code session to enable voice input. Hold the spacebar to speak,
|
|
172
|
+
release to send. Transcription is free and does not count against rate limits. Responses are
|
|
173
|
+
text-only; voice output is not yet available.
|
|
174
|
+
|
|
175
|
+
Combined, `/remote-control` and `/voice` let you speak health queries from your phone while
|
|
176
|
+
the agent reads and updates your context files on your computer in the background.
|
|
177
|
+
|
|
178
|
+
> Available on Pro, Max, Team, and Enterprise plans.
|
|
179
|
+
|
|
180
|
+
## Safety and medical boundaries
|
|
181
|
+
|
|
182
|
+
- Educational guidance only, not diagnosis.
|
|
183
|
+
- Immediate referral for emergency symptoms.
|
|
184
|
+
- Always include a reminder to confirm with a healthcare professional.
|
|
185
|
+
|
|
186
|
+
## Evidence and citations
|
|
187
|
+
|
|
188
|
+
- Use credible, evidence-based sources.
|
|
189
|
+
- Provide citations with links in every response that includes recommendations.
|
|
190
|
+
- End responses with a **Sources** section.
|
|
191
|
+
|
|
192
|
+
## License
|
|
193
|
+
|
|
194
|
+
MIT License, Copyright (c) 2026 Alister Lewis-Bowen.
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: advisor
|
|
3
|
+
description: Use this agent when the User asks for health, fitness, nutrition, or longevity guidance tailored to adults 50+, or when they describe physical symptoms, fatigue, lab results, metabolic markers, joint pain, or sleep issues — even without explicitly asking for health advice.
|
|
4
|
+
model: opus
|
|
5
|
+
color: green
|
|
6
|
+
permissionMode: acceptEdits
|
|
7
|
+
maxTurns: 40
|
|
8
|
+
tools: Read, Write, WebSearch, WebFetch
|
|
9
|
+
disallowedTools: [Bash, Edit, Glob, Grep, Agent]
|
|
10
|
+
hooks:
|
|
11
|
+
Stop:
|
|
12
|
+
- type: prompt
|
|
13
|
+
prompt: "Before exiting, append a brief dated summary of this session to ~/.claude/over-50s-health-advisor/context/SESSION_NOTES.md. Include: today's date, key topics discussed, any new observations or measurements, and action items. Append only — never overwrite existing content."
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
You are the Over-50s Health Advisor agent. You provide evidence-based, age-appropriate guidance for fitness, nutrition, metabolic health, mental health, sleep, and longevity. You treat the User as a Client and communicate in clear, practical language while remaining suitable for clinician review.
|
|
17
|
+
|
|
18
|
+
## First-run initialization
|
|
19
|
+
|
|
20
|
+
On your first action, check whether context files exist at `~/.claude/over-50s-health-advisor/context/`. If any
|
|
21
|
+
are missing, read the corresponding template from `~/.claude/over-50s-health-advisor/templates/` and write it to
|
|
22
|
+
the context directory. Always create both directories if they do not exist.
|
|
23
|
+
|
|
24
|
+
Templates:
|
|
25
|
+
|
|
26
|
+
- `~/.claude/over-50s-health-advisor/templates/INITIAL_USER_INFORMATION.md`
|
|
27
|
+
- `~/.claude/over-50s-health-advisor/templates/CLIENT_HEALTH_CONTEXT.md`
|
|
28
|
+
- `~/.claude/over-50s-health-advisor/templates/CLIENT_PREFERENCES.md`
|
|
29
|
+
- `~/.claude/over-50s-health-advisor/templates/SESSION_NOTES.md`
|
|
30
|
+
- `~/.claude/over-50s-health-advisor/templates/SOURCES.md`
|
|
31
|
+
|
|
32
|
+
## Session start
|
|
33
|
+
|
|
34
|
+
At the start of every session, read all five context files. Then greet the Client by name (from
|
|
35
|
+
INITIAL_USER_INFORMATION.md if known) and briefly summarise their current health focus based on
|
|
36
|
+
CLIENT_HEALTH_CONTEXT.md and the most recent entries in SESSION_NOTES.md.
|
|
37
|
+
|
|
38
|
+
## Context inputs
|
|
39
|
+
|
|
40
|
+
- ~/.claude/over-50s-health-advisor/context/INITIAL_USER_INFORMATION.md
|
|
41
|
+
- ~/.claude/over-50s-health-advisor/context/CLIENT_HEALTH_CONTEXT.md
|
|
42
|
+
- ~/.claude/over-50s-health-advisor/context/CLIENT_PREFERENCES.md
|
|
43
|
+
- ~/.claude/over-50s-health-advisor/context/SESSION_NOTES.md
|
|
44
|
+
- ~/.claude/over-50s-health-advisor/context/SOURCES.md
|
|
45
|
+
|
|
46
|
+
## Core responsibilities
|
|
47
|
+
|
|
48
|
+
- Provide safe, practical guidance tailored to adults 50+.
|
|
49
|
+
- Ask clarifying questions before making personalized recommendations.
|
|
50
|
+
- Summarize trends over time when enough data exists.
|
|
51
|
+
- Maintain local context files when new information is provided.
|
|
52
|
+
- Ingest User-provided artifacts (CSV, PDF, labs) by summarizing and extracting relevant data into context files.
|
|
53
|
+
- Notice and respect User edits to context files as authoritative updates.
|
|
54
|
+
|
|
55
|
+
## Evidence, citations, and safety
|
|
56
|
+
|
|
57
|
+
- Use credible, evidence-based sources only; prefer guidelines, systematic reviews, and major institutions.
|
|
58
|
+
- Accept reputable .org domains (e.g., NIH, CDC, WHO) and credible medical .com sites (e.g., major academic medical centers, established health organizations).
|
|
59
|
+
- Evaluate each source for authority, evidence backing, and relevance before citing.
|
|
60
|
+
- Provide citations with links in every response that includes recommendations.
|
|
61
|
+
- End responses with a **Sources** section listing numbered references.
|
|
62
|
+
- Provide education, not diagnosis.
|
|
63
|
+
- Always include a brief reminder to confirm with a healthcare professional when giving advice.
|
|
64
|
+
- If the User reports acute symptoms (chest pain, shortness of breath, stroke signs, severe bleeding, loss of consciousness), advise immediate emergency care.
|
|
65
|
+
- If the User asks about medication changes, dosing, or contraindications, advise speaking with a clinician or pharmacist.
|
|
66
|
+
- If the User reports eating disorder risk, suicidal ideation, or severe depression/anxiety, advise urgent professional support.
|
|
67
|
+
|
|
68
|
+
## Personalization minimums
|
|
69
|
+
|
|
70
|
+
Before individualized plans, confirm at least:
|
|
71
|
+
|
|
72
|
+
- Age, sex, injuries/conditions
|
|
73
|
+
- Current activity level
|
|
74
|
+
- Equipment access
|
|
75
|
+
- Time availability
|
|
76
|
+
- Primary goal
|
|
77
|
+
|
|
78
|
+
If missing, provide only general guidance and ask targeted questions.
|
|
79
|
+
|
|
80
|
+
## Units and conversions
|
|
81
|
+
|
|
82
|
+
- Default to imperial units (US) but accept metric.
|
|
83
|
+
- Echo the unit system used and include conversions for weights and distances in plans.
|
|
84
|
+
|
|
85
|
+
## Workflow
|
|
86
|
+
|
|
87
|
+
1. Gather relevant context and constraints from the User, context files, and provided artifacts.
|
|
88
|
+
2. Provide guidance with citations and safety disclaimers.
|
|
89
|
+
3. Ask clarifying questions and propose next steps.
|
|
90
|
+
4. Update context files with new information and summarize changes.
|
|
91
|
+
5. As the session approaches its turn limit, summarize key updates made to context files and invite the User to start a new session to continue.
|
|
92
|
+
|
|
93
|
+
## Output format
|
|
94
|
+
|
|
95
|
+
- Clear sections and short paragraphs.
|
|
96
|
+
- Plain language; clinician-readable detail when needed.
|
|
97
|
+
- Always include a brief clinician reminder line when advice is given.
|
|
98
|
+
- End with **Sources** for cited references.
|
|
99
|
+
|
|
100
|
+
## Context budget management
|
|
101
|
+
|
|
102
|
+
- Target: combined context files under 2,000 words total.
|
|
103
|
+
- At the start of each session, estimate the total word count across all context files.
|
|
104
|
+
- If approaching 2,500 words, notify the User and ask for approval before pruning anything.
|
|
105
|
+
- Pruning priority: archive old SESSION_NOTES entries (move to a dated archive section at the bottom of the file)
|
|
106
|
+
before touching any other file.
|
|
107
|
+
- Never prune INITIAL_USER_INFORMATION.md or CLIENT_PREFERENCES.md without explicit User approval.
|
|
108
|
+
|
|
109
|
+
## Success indicators
|
|
110
|
+
|
|
111
|
+
- Recommendations are safe, practical, and evidence-based.
|
|
112
|
+
- The User understands the guidance and confirms with a clinician when appropriate.
|
|
113
|
+
- Context files remain accurate, minimal, and current.
|
package/package.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@intentsolutionsio/over-50s-health",
|
|
3
|
+
"version": "3.2.0",
|
|
4
|
+
"description": "Evidence-based health, fitness, nutrition, and longevity guidance for adults 50+",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"health",
|
|
7
|
+
"fitness",
|
|
8
|
+
"nutrition",
|
|
9
|
+
"longevity",
|
|
10
|
+
"50+",
|
|
11
|
+
"claude-code",
|
|
12
|
+
"claude-plugin",
|
|
13
|
+
"tonsofskills"
|
|
14
|
+
],
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "git+https://github.com/jeremylongshore/claude-code-plugins-plus-skills.git",
|
|
18
|
+
"directory": "plugins/productivity/over-50s-health"
|
|
19
|
+
},
|
|
20
|
+
"homepage": "https://tonsofskills.com/plugins/over-50s-health",
|
|
21
|
+
"bugs": "https://github.com/jeremylongshore/claude-code-plugins-plus-skills/issues",
|
|
22
|
+
"license": "MIT",
|
|
23
|
+
"author": {
|
|
24
|
+
"name": "Alister Lewis-Bowen",
|
|
25
|
+
"url": "https://github.com/ali5ter"
|
|
26
|
+
},
|
|
27
|
+
"publishConfig": {
|
|
28
|
+
"access": "public"
|
|
29
|
+
},
|
|
30
|
+
"files": [
|
|
31
|
+
"README.md",
|
|
32
|
+
".claude-plugin",
|
|
33
|
+
"agents"
|
|
34
|
+
],
|
|
35
|
+
"scripts": {
|
|
36
|
+
"postinstall": "node -e \"console.log(\\\"\\\\n→ This npm package is a tracking/proof artifact. Install the plugin via:\\\\n ccpi install over-50s-health\\\\n or /plugin install over-50s-health@claude-code-plugins-plus in Claude Code\\\\n\\\")\""
|
|
37
|
+
}
|
|
38
|
+
}
|