movement-trajectory

movement-trajectory is a skill for Claude Code, Codex from muend/geoai-skills. It costs 118 tokens per session (1,801 once invoked), scanned A, original, MIT.

A guide to analysing movement from timestamped GPS or satellite-location points. A trajectory is the ordered path of one tracked object, such as a vehicle, person, animal, ship, or athlete.

In plain words
What is it for?
Use it to clean tracks, detect stops and trips, match points to roads, calculate speed and direction, aggregate movement flows, and build origin-destination data.
Why use it?
It helps separate real movement from location noise, which can otherwise create impossible speeds or invented stops, and prompts care with individual tracking data.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the geoai plugin — 18 skills shipped together

Good fit Use it to clean tracks, detect stops and trips, match points to roads, calculate speed and direction, aggregate movement flows, and build origin-destination data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/muend/geoai-skills/movement-trajectory
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add muend/geoai-skills --skill movement-trajectory
Clone the repo
git clone --depth 1 https://github.com/muend/geoai-skills

Made for: Claude Code, Codex.

Or install geoai, the plugin that ships this one along with the rest of its 18 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for movement-trajectory

README.md
[![agentmods](https://agentmods.dev/badge/skills/muend/geoai-skills/movement-trajectory/github.svg)](https://agentmods.dev/skills/muend/geoai-skills/movement-trajectory)
Your own site
<a href="https://agentmods.dev/skills/muend/geoai-skills/movement-trajectory"><img src="https://agentmods.dev/badge/skills/muend/geoai-skills/movement-trajectory/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for movement-trajectory

Your own site · 80×15
<a href="https://agentmods.dev/skills/muend/geoai-skills/movement-trajectory"><img src="https://agentmods.dev/badge/skills/muend/geoai-skills/movement-trajectory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 118 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,801 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00118 $0.01801
Opus 5 $0.00059 $0.00901
Sonnet 5 $0.00024 $0.00360
Haiku 4.5 $0.00012 $0.00180

Measured 11d ago against content hash cb33346e42f4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

movement-trajectory scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/movement-trajectory/SKILL.md · 162 lines

How it starts

The opening of the file, as written. The whole thing — 162 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Movement & Trajectory Analytics

Purpose: turn noisy timestamped points into defensible movement facts. The recurring failure modes: speed computed through GPS noise (teleporting points → 400 km/h pedestrians), stops invented by signal drift, and privacy-blind delivery of individual-level traces.

Data model first

A trajectory = ordered fixes per object: (object_id, timestamp, x, y, [accuracy, ...]). Before analysis, report per object: fix count, time span, median sampling interval, and interval distribution — sampling rate drives every method choice (1 s vehicle traces and 1 fix/hour animal tags are different problems wearing the same schema).

import movingpandas as mpd
import geopandas as gpd

gdf = gpd.GeoDataFrame(df, geometry=gpd.points_from_xy(df.lon, df.lat),
                       crs=4326).to_crs(gdf_utm_epsg)
tc = mpd.TrajectoryCollection(gdf, "object_id", t="timestamp")

Declare CRS and time base before any threshold

Every distance radius, speed limit and dwell duration in this skill is meaningless until two things are stated in the answer, before the number is used:

  1. The projected CRS all distance and speed computation runs in — a "50 m stop radius" applied to raw lon/lat degrees is not 50 m anywhere, and the error scales with latitude. Name the CRS (estimate_utm_crs() for a local fleet, an equal-distance projection for continental extents).
  2. The timestamp base, normalised to timezone-aware UTC. Fleet logs mix local times, DST shifts and naive strings; a dwell that straddles a DST boundary gains or loses an hour, and stop durations silently corrupt.

State both before proposing a radius or duration, not afterwards as a caveat.

Declaring is not withholding. An unknown CRS or timezone is never grounds to stop and ask instead of answering. State it as an explicit, named assumption and deliver the method anyway:

Assuming a local UTM zone for distance and that timestamps are naive local time needing UTC normalisation — confirm both, since they change dwell durations.

Read the full file on GitHub · 162 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 162 lines · 118 tokens per session scan A cb33346e42f4

Subscribe to this mod's changes

movement-trajectory is a skill published in the GitHub repository muend/geoai-skills (17 stars, last pushed 7d ago), licensed MIT. It adds 118 tokens to every session and 1,801 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.