Skip to content
Back to skills

Shadow Diagram

ASecurity

Make a publication-ready chronolocation graphic - a sun-path compass, the day's sun height and the windows of local time that fit a measured shadow - and test a claimed time against it. Use when the user wants to show readers when a photo or video was taken from its shadows, check or debunk a claimed time, or asks for a shadow, sun-position or chronolocation diagram.

  • 4 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 26, 2026
ai-agentspythongit

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned November 26, 2026

npx -y skills add Ghongha007/osint-visuals --skill shadow-diagram --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Shadow Diagram?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Shadow Diagram
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ghongha007-shadow-diagram/badge)](https://www.skillsdirectory.com/skills/ghongha007-shadow-diagram)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: shadow-diagram
description: Make a publication-ready chronolocation graphic - a sun-path compass, the day's sun height and the windows of local time that fit a measured shadow - and test a claimed time against it. Use when the user wants to show readers when a photo or video was taken from its shadows, check or debunk a claimed time, or asks for a shadow, sun-position or chronolocation diagram.
---

# Shadow diagram

Makes one self-contained HTML page (an SVG you can export as PNG or SVG in 4:5, 1:1, 16:9 or 9:16): where the sun
was through the day, the shadow measured in the image, the times that fit (in green) and, if given, a claimed time
(in red) with how far it is from the evidence. The sun positions are computed by the script and embedded; nothing is
fetched.

## Before you start

You need the same things as for any chronolocation. If one is missing, say which and stop.

1. **The place**, as latitude and longitude (geolocate first if it isn't known).
2. **The date** and the **time zone** (an offset like `+03:00` or a zone name like `Africa/Nairobi`).
3. **A shadow you measured** from a vertical object on roughly level ground:
   - its compass direction (match the image to satellite imagery and read the bearing; give a range), and/or
   - the object's height and the shadow's length (same unit), which fixes the sun's elevation.

Both together give a narrow window; direction alone near the equator can fit for hours.

## Run

```
python3 scripts/shadow.py --lat -1.2864 --lon 36.8172 --date 2026-08-10 --tz +03:00 \
    --shadow-azimuth 250 --tolerance 6 --height 1.75 --shadow-length 2.3 \
    --claimed 16:30 --place "Nairobi, Kenya" --title "..." --source "where the image came from"
```

Set `--tolerance` to half the width of your measured range. The script prints the windows and the claim check.

## How to report

- Give a window, never a single minute, and say what you measured and the tolerance you used.
- A fit is *consistent with* a time. A claimed time that does not fit is strong evidence against the claim, as long
  as the place, the date and the measurement are right: say those assumptions.
- Shadow length alone matches twice a day; direction tells morning from afternoon.

## Limits

- NOAA solar position equations without a refraction correction (the same maths as
  `osint-skills/chronolocate/sun.py`); unreliable within about 3 degrees of the horizon.
- Assumes a vertical object on level ground; slopes, leaning poles and lens distortion near the frame edge all shift
  the reading.

## Will not do

- Use shadows to narrow down where a private person lives or is.
- Present a fit as proof of when something happened.

Files in this skill

  • SKILL.md2.6 KB
  • assets/shadow.html15.1 KB
  • scripts/shadow.py8.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.