К основному содержанию
скилл CX Codex

trajectory — скилл для Claude Code: прогноз и установка

Скилл trajectory для Claude Code сравнивает текущий курс с планом и показывает сценарии изменений. Он запускается после предложения плана или просьбы оценить, куда ведёт нынешний курс.

MIT ★ 93 обновлён 2026-11-15

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add Insilico-org/plsi --skill trajectory -a claude-code
Открыть на GitHub

Что делает trajectory

Скилл строит сравнение текущего курса с предложенным планом и сохраняет результат в trajectory.json вместе с краткой сводкой. Он выбирает значимые показатели из состояния и прогноза плана, а значения рассчитывает по данным PLSI, проверенным источникам и записанным прогнозам. Эффекты, которых план не предсказывает, не добавляет.

Для сценариев скилл сравнивает исходный вариант без изменений и до четырёх режимов. Результаты PLSI отображает через visualizer/dashboard. Нужна рабочая среда PLSI с командами plsi state, plsi plan, plsi calc и plsi evidence. Если состояние карты помечено как устаревшее (current: false), скилл останавливается и сообщает об этом.

Какие задачи решает

  • сравнить план с продолжением текущего курса
  • увидеть, какие показатели меняются к сроку прогноза
  • сопоставить до четырёх режимов с исходным вариантом
  • отделить расчётные значения от показателей без источника

Примеры запросов агенту

  • Сравни текущий курс с этим планом и сохрани результат в trajectory.json.
  • Покажи, что изменится по каждому режиму по сравнению с бездействием.
  • Куда ведёт мой текущий курс и что изменит предложенный план?

Как установить trajectory

1Через Skills CLI (Vercel)

npx skills add Insilico-org/plsi --skill trajectory -a claude-code

2Вручную: положить файлы

~/.claude/skills/trajectory/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/trajectory/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о trajectory

Как установить trajectory в Claude Code?

Выполни npx skills add Insilico-org/plsi --skill trajectory -a claude-code. Файл скилла появится по пути ~/.claude/skills/trajectory/SKILL.md.

Что делает trajectory?

Скилл сравнивает прогноз плана с текущим курсом, а в режиме сценариев — исходный вариант с несколькими режимами. Он записывает trajectory.json и краткую сводку для отображения в PLSI.

Что нужно для работы trajectory?

Нужна среда PLSI с командами plsi state, plsi plan, plsi calc и plsi evidence; результаты отображаются через visualizer/dashboard.

Исходный текст

SKILL.md · MIT
---
name: trajectory
description: Use as PLSI Nostradamus after every plan proposal, and when the user asks "where am I heading", "what changes if I do this" or to simulate several regimens against doing nothing (n-of-1 what-ifs, body weight, expected lifespan) - return trajectory.json with the current course vs the proposed plan, or the Scenarios mode with a baseline and up to 4 regimens, plus a short brief.
---

# PLSI trajectory

Nostradamus predicts; PLSI renders it (`visualizer/dashboard`, scope "trajectory brief"). Every number comes from a
state, a `plsi calc derive` output, a `base_rate` reference, a verified paper or the plan's predictions; nothing is
estimated by hand.

## When to use

- `nostradamus/plan` step 3: with every plan proposal or revision, before the `result` goes to PLSI.
- PLSI asks for skill `nostradamus/trajectory` ("where am I heading", "what does this plan change").
- With every replacement plan PLSI Reviewer asks for (`reviewer/review` `modify`; current course vs revised plan),
  and after it is adopted.
- **Scenarios mode:** PLSI asks to compare regimens with doing nothing before any plan (the regimens in `summary`,
  the specialists' proposal files in `files`); see **Scenarios** below. It records nothing.

## Steps

1. **Read the plans and the state of every map their predictions name** (each prediction's `map_id`). Stale states (`current: false`): say so in a `result` (PLSI has PLSI Data Processor re-project); stop.

   ```bash
   plsi state show --instance <instance> --map <map_id>
   plsi plan list --instance <instance>
   plsi refs list
   ```

2. **Pick 3-6 items** that matter most for this person: the plan's predicted coordinates first, then the top
   modifiable risks in the state (risk equations, raised markers). No fixed list.

3. **Current course** (no action), per item, at the plan's horizon dates (`horizon_days`), also for risks. With
   two or more recorded values that move one way, never draw the slope yourself: use a slope only from a `calc`
   output or a verified source, otherwise keep the course flat and say in `basis` "recorded values trending
   <up|down>; course shown flat", so a small change is not mistaken for success.
   - Clocks and scores: `plsi calc derive` at the horizon date with today's inputs; interval from test-retest
     variation (the plan's no-action control `p0` when it exists).
   - Risks: a published risk equation in the state, derived as of the plan's horizon date with today's inputs (`--at
     <plan horizon date>`), labelled "10-year risk as of <date>"; or a matching `base_rate` table (age, sex, country,
     period; cite table and year) or a verified cohort paper.

   ```bash
   plsi calc derive --map <map_id> --coordinate <coordinate> --instance <instance> --at <horizon date>
   plsi evidence verify --kind pmid --id <pmid>
   ```

   No sourced number: leave the item level-only: `"basis": "hypothesis_only"` on the item, empty `current` and `plan`.

4. **With the plan.** Only the plan's recorded or proposed predictions (`plan.json`), with their intervals and
   `local_id`; never extend them past their horizons or add effects the plan does not predict. A plan effect on a risk
   input: run `plsi calc derive ... --set <input>=<value> --at <horizon date>` at the input's expected, low and high
   values; expected is the run at the expected value, low and high are the min and max of the three outputs. An input
   predicted as `change_from_baseline` leaves the risk level-only on the plan course unless the plan also records the
   absolute input value; never add the delta by hand.

5. **Write `<PLSI_HOME>/work/<thread>/trajectory.json`:**

   ```json
   {"instance": "me", "thread": "plan-2026-10-21", "as_of": "2026-10-21", "plan": "work/plan-2026-10-21/plan.json",
    "states": [{"map_id": "blood_phenoage", "state_hash": "sha256:..."}],
    "items": [{"coordinate": "phenoage_acceleration", "label": "Biological age gap", "unit": "years",
      "kind": "marker", "now": {"t": "2026-09-14", "v": 2.1, "source": "state blood_phenoage"},
      "current": [{"t": "2027-01-19", "expected": 2.1, "low": 0.6, "high": 3.6, "basis": "p0 test-retest"}],
      "plan": [{"t": "2027-01-19", "expected": 1.1, "low": -0.9, "high": 2.6, "basis": "p1 (level)", "source": "pmid:<pmid>"}]},
     {"coordinate": "<risk>", "label": "10-year <event> risk", "unit": "%", "kind": "risk", "now": {...},
      "current": [{"t": "2027-01-19", "expected": 9.0, "low": 6.5, "high": 12.0, "basis": "<equation>, 10-year risk as of 2027-01-19"}],
      "plan": []}],
    "summary": "..."}
   ```

   Values in the coordinate's canonical unit, on the same scale as `now`. Plan predictions with target
   `change_from_baseline` go in the item's `changes` list (`{"t", "expected", "low", "high", "basis"}`), shown only in the
   table as "change <expected> (<low> to <high>)", never as `plan` level points. An empty `plan` list means the plan
   does not predict that item's level. To draw a plan course, `nostradamus/plan` also predicts the level (`target: level`).

6. **Write the brief** (`summary`, at most ~120 words): about 80% plain facts (where each item is now, where it
   heads on each course, how wide the uncertainty is, what is not predicted), then about 20% vivid: one or two
   sentences in the second person with a concrete image of the day-to-day difference ("By spring you would ...").
   Only numbers that are in the file; say "roughly" with the interval, not false precision.

7. **Return** the path in `files` of the `result` (with the plan's `result` in `nostradamus/plan`); the brief goes in
   `summary`. PLSI renders it with `visualizer/dashboard` and shows it with the adoption card.

## Scenarios

Several regimens against a baseline (nothing changes), for the items that matter (step 2) plus, when asked, body
weight and expected lifespan. Scenarios are what-ifs from population evidence, not plans and not predictions that
get scored; a regimen the user wants to try then goes through the Plan flow.

1. **Regimens:** the baseline first, then at most 4 from the request: the user's own and the specialists'
   proposals (`work/<thread>/proposal-<role>.json`), each with its actions as written.
2. **Effects, each cited:** for each regimen and item, the steady-state change with low and high and its time
   course from a verified trial, meta-analysis or model (`plsi evidence verify`); for lifespan, the hazard ratio
   for all-cause mortality (with its interval) that the cited cohort or meta-analysis gives for the change, and from
   when it applies. The baseline uses the person's own state: an `age_shift` from a recorded biological-age gap
   (e.g. `phenoage_acceleration`), cited as that state, or a hazard ratio for a recorded risk factor, cited. No cited
   effect: the item stays flat for that regimen and says "no sourced effect".
3. **Compute, never by hand:** a measurement (weight, a marker) with `plsi calc course` (start = the latest
   recorded value from `state show`; one scenario per regimen); lifespan with `plsi calc survival` (age, sex and country from the
   instance's subject, `plsi status`; no country recorded: ask PLSI in a `question`; the bundled UN WPP 2024 snapshot covers USA, China and Costa Rica; for any other country
   download the latest WPP single-age life table CSV for the person's sex once (`plsi refs show un_wpp`, download
   centre, "Life_Table_Complete", estimates) into `<PLSI_HOME>/data/` and give it as `un_wpp.file`; other tables as
   `q` rows from a `base_rate` reference, with that id as `source`). Several effects on
   lifespan in one regimen: multiply their hazard ratios only when the sources adjusted for each other; otherwise
   use the largest single one and say so.

   ```bash
   plsi calc course --file <PLSI_HOME>/work/<thread>/course-<item>.json
   plsi calc survival --file <PLSI_HOME>/work/<thread>/survival.json
   ```

4. **Write `trajectory.json`** with `"mode": "scenarios"`, `"scenarios": ["baseline", "<regimen>", ...]` and per
   item a `courses` object (scenario name -> points `{t, expected, low, high, basis, source}`) instead of `current`
   and `plan`; lifespan is an item of kind `lifespan` with, per scenario, the `calc survival` row (life expectancy
   with low and high, median age at death, chance of reaching 80 and 90, years vs baseline) and its survival curve.
   The brief (step 6) leads with the baseline and says once that these are population averages applied to the
   person, not a forecast of their life.

## Rules

- Two courses only: current course and with this plan (the Scenarios mode is the one exception). Never mix in other options or unrecorded actions.
- Every point has expected, low, high and a basis; level-only items are labelled, never filled in.
- Do not imply certainty or cure; the vivid part describes the predicted difference, never a promise.
- No intervention names in the brief beyond the plan's own action labels; no names, places or employers.
- Plan changed after `challenger/challenge` or a review: rewrite the file before the `result`.

© Insilico-org · MIT · Insilico-org/plsi

Похожие скиллы

Все скиллы по теме «Настройка агента: память, контекст, субагенты» →
movement-trajectory Muhammed Enes Duran Скилл movement-trajectory для Claude Code очищает GPS/GNSS-треки, находит остановки и поездки, сопоставляет точки с дорогами и агрегирует потоки. Анализирует перемещения по координатам с временными метками. CX Codex +1 ★ 48звёзд репо cli-anything-cloudanalyzer HKUDS Скилл cli-anything-cloudanalyzer для Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI и OpenCode — агент-дружественная обёртка над CloudAnalyzer, QA-платформой для облаков точек, локализации и картографирования. CX Codex +1 528установок business-scenario-explorer davila7 Слэш-команда business-scenario-explorer строит несколько сценариев развития бизнеса — базовый, оптимистичный, пессимистичный и срывной — и сводит их в матрицу решений. CX Codex +1 273установок timeline-compressor davila7 Команда timeline-compressor для Claude Code, которая сжимает реальные сроки проекта в быстрые циклы симуляции. Раскладывает временную шкалу на этапы, ищет части для ускорения и подбирает коэффициент, сохраняя ключевые вехи и зависимости. CX Codex +1 146установок SlashML (/ ml) Embodied Robotics Trajectory Memory slashml-ai SlashML (/ ml) Embodied Robotics Trajectory Memory — MCP-сервер для Claude Code, передающий ИИ-агентам координаты объектов, хронологию траекторий и свойства инструментов в робототехнических контурах. CX Codex +1 ★ 1звёзд репо build-forecast-scenarios gtmagents Команда build-forecast-scenarios строит базовый, оптимистичный и пессимистичный сценарии выручки с поправками на сигналы, а потом объясняет расхождения с прошлым прогнозом. Пригодится перед защитой квартального плана. CX Codex +1 ★ 450звёзд репо

Из того же набора85

Весь набор →
grounding Скилл grounding для Claude Code помогает обосновывать утверждения в оценках биологических мишеней. Включается перед подготовкой отчёта или передачей краткого описания мишени другому боту. CX Codex +1 ★ 93звёзд репо report Скилл report для Claude Code собирает доказательный отчёт о мишени из досье и оценки. Запускается, когда в PLSI передают оценку отдельного кандидата или короткий список. CX Codex +1 ★ 93звёзд репо physicians Скилл physicians для Claude Code готовит материалы к визиту и помогает вести переписку с врачом. Он включается перед приёмом, после него, при поиске специалиста или наступлении срока повторного обращения. CX Codex +1 ★ 93звёзд репо charts Скилл charts для Claude Code строит графики по данным PLSI и объясняет, как их читать. Включается, когда данные проще показать на графике: например, динамику показателя или точность прошлых прогнозов. CX Codex +1 ★ 93звёзд репо sessions Скилл sessions для Claude Code описывает работу с комнатами Grok, где несколько ботов совместно решают одну задачу. Он задаёт правила для брифа, передачи работы и закрытия раунда. CX Codex +1 ★ 93звёзд репо challenge Скилл challenge для Claude Code проверяет предложения PLSI перед отправкой пользователю. Он разбирает планы, исследовательские утверждения и заметки по разным наборам критериев. CX Codex +1 ★ 93звёзд репо session Скилл session для Claude Code ведёт исследовательскую сессию по вопросу о старении и оформляет выводы в короткую заметку с оценкой доказательств. CX Codex +1 ★ 93звёзд репо discover Скилл discover для Claude Code подбирает и ранжирует мишени для болезни, процесса старения или идеи перепрофилирования препарата. Он формирует короткий список с проверкой, которая может опровергнуть кандидата, и решающим экспериментом. CX Codex +1 ★ 93звёзд репо

Спонсоры проекта

Компании, которые помогают держать аналитику открытой