ai-analyzer — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited ai-analyzer (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
An AI-based comprehensive health-analysis system that provides intelligent health insights, risk prediction, and personalized advice.
Use this skill when the user mentions scenarios such as:
General queries:
Risk prediction:
Intelligent Q&A:
Report generation:
#### Step 1: Read AI configuration
const aiConfig = readFile('data/ai-config.json');
const aiHistory = readFile('data/ai-history.json');Check whether the AI feature is enabled and validate the data-source configuration.
#### Step 2: Read the user profile
const profile = readFile('data/profile.json');Get basic information: age, sex, height, weight, BMI, etc.
#### Step 3: Read health data
Read the relevant data per the configured data sources:
// Basic health metrics
const indexData = readFile('data/index.json');
// Lifestyle data
const fitnessData = readFile('data-example/fitness-tracker.json');
const sleepData = readFile('data-example/sleep-tracker.json');
const nutritionData = readFile('data-example/nutrition-tracker.json');
// Mental-health data
const mentalHealthData = readFile('data-example/mental-health-tracker.json');
// Medical history
const medications = exists('data/medications.json') ? readFile('data/medications.json') : null;
const allergies = exists('data/allergies.json') ? readFile('data/allergies.json') : null;#### Step 4: Data integration and preprocessing
Integrate all data sources; perform data cleaning, time alignment, and missing-value handling.
#### Step 5: Multi-dimensional analysis
Correlation analysis: compute associations such as sleep↔mood, exercise↔weight, nutrition↔biochemistry
Trend analysis: identify trend direction using linear regression, moving averages, etc.
Anomaly detection: detect outliers and change points using CUSUM and Z-score algorithms
#### Step 6: Risk prediction
Predict risk using standards such as Framingham, ADA, and ACC/AHA:
#### Step 7: Generate personalized recommendations
Produce three tiers of recommendations from the analysis results:
#### Step 8: Generate the analysis report
Text report: includes overall assessment, risk prediction, key trends, correlation findings, and personalized advice
HTML report: calls scripts/generate_ai_report.py to generate an interactive report with ECharts charts
#### Step 9: Update AI history
Record the analysis results to data/ai-history.json
| Data source | File path | Content |
|---|---|---|
| User profile | data/profile.json | age, sex, height, weight, BMI |
| Medical records | data/index.json | biochemistry, imaging |
| Fitness tracker | data-example/fitness-tracker.json | exercise type, duration, intensity, MET values |
| Sleep tracker | data-example/sleep-tracker.json | sleep duration, quality, PSQI score |
| Nutrition tracker | data-example/nutrition-tracker.json | food records, nutrient intake, RDA attainment |
| Mental health | data-example/mental-health-tracker.json | PHQ-9, GAD-7 scores |
| Medications | data/medications.json | drug name, dose, regimen, adherence |
| Allergy history | data/allergies.json | allergen, severity |
/ai analyze - comprehensive AI analysis/ai predict [risk_type] - health-risk prediction/ai chat [query] - natural-language Q&A/ai report generate [type] - generate an AI health report/ai status - view AI feature statusThis skill uses only the following tools:
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.