soil-test-tracker
Record soil test results, track nutrient levels over time, and log soil amendments. Use when asked to add a soil test, check which nutrients are deficient, view field nutrient history, record a lime or fertilizer application, or compare field health across tests. Triggers include "soil test", "soil pH", "nutrient deficiency", "add lime", "compost application", "phosphorus low", "organic matter", "amendment record", or any task involving soil chemistry tracking.
Best use case
soil-test-tracker is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Record soil test results, track nutrient levels over time, and log soil amendments. Use when asked to add a soil test, check which nutrients are deficient, view field nutrient history, record a lime or fertilizer application, or compare field health across tests. Triggers include "soil test", "soil pH", "nutrient deficiency", "add lime", "compost application", "phosphorus low", "organic matter", "amendment record", or any task involving soil chemistry tracking.
Teams using soil-test-tracker should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/soil-test-tracker/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How soil-test-tracker Compares
| Feature / Agent | soil-test-tracker | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Record soil test results, track nutrient levels over time, and log soil amendments. Use when asked to add a soil test, check which nutrients are deficient, view field nutrient history, record a lime or fertilizer application, or compare field health across tests. Triggers include "soil test", "soil pH", "nutrient deficiency", "add lime", "compost application", "phosphorus low", "organic matter", "amendment record", or any task involving soil chemistry tracking.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# soil-test-tracker
Record soil test lab results, evaluate nutrient status against optimal ranges, and track amendment applications to monitor soil health improvement over time.
## When to Use
- Entering results from a soil lab report (pH, N, P, K, Ca, Mg, S, OM, CEC)
- Checking which nutrients are deficient or low for a specific field
- Viewing how a field's pH or organic matter has changed across multiple tests
- Recording a lime, fertilizer, or compost application
- Comparing nutrient status across all active fields
- Generating before/after reports for fields that have received amendments
## Key Concepts
### Nutrient Status
Each nutrient value is evaluated against configurable optimal ranges:
| Status | Meaning |
|---|---|
| Optimal | Value is within the low-to-high optimal range |
| Low | Below the low threshold but above 50% of low |
| High | Above the high threshold |
| Deficient | Below 50% of the low threshold - urgent action needed |
Default ranges can be customized per farm in Settings > Optimal Ranges.
### Default Optimal Ranges
| Nutrient | Low | High | Unit |
|---|---|---|---|
| pH | 6.0 | 7.0 | - |
| Nitrogen | 20 | 50 | ppm |
| Phosphorus | 20 | 50 | ppm |
| Potassium | 120 | 200 | ppm |
| Calcium | 1000 | 2000 | ppm |
| Magnesium | 100 | 200 | ppm |
| Sulfur | 10 | 30 | ppm |
| Organic Matter | 3.0 | 6.0 | % |
### Fields
Each field has a name, area in acres, soil type, and crop history notes. All soil tests and amendments are linked to a field.
### Amendments
When you apply lime, fertilizer, compost, or other products to correct nutrient deficiencies, record them as amendments. Link each amendment to the soil test that prompted it. The Improvement Report compares before/after values across tests to quantify the effect of amendments.
## API Quick Reference
```bash
# Add a soil test
curl -X POST http://localhost:3004/api/tests \
-H "Content-Type: application/json" \
-d '{
"field_id": "...",
"test_date": "2025-04-18",
"lab_name": "AgLab Solutions",
"ph": 5.9,
"nitrogen_ppm": 19,
"phosphorus_ppm": 22,
"potassium_ppm": 105,
"organic_matter_pct": 1.6,
"cec": 12.4
}'
# Get test with nutrient status evaluation
curl http://localhost:3004/api/tests/{id}
# List tests for a field
curl "http://localhost:3004/api/tests?field_id={id}"
# Get nutrient trends for a field
curl "http://localhost:3004/api/analytics/trends?field_id={id}"
# Get field summary (latest test status for all fields)
curl http://localhost:3004/api/analytics/field-summary
# Record an amendment
curl -X POST http://localhost:3004/api/amendments \
-H "Content-Type: application/json" \
-d '{
"field_id": "...",
"test_id": "...",
"applied_date": "2025-04-20",
"product_name": "Agricultural Lime",
"rate_per_acre": 2.0,
"unit": "ton",
"area_acres": 4.2,
"cost_per_unit": 30.00
}'
# Get improvement report (before/after amendment comparison)
curl "http://localhost:3004/api/analytics/improvement?field_id={id}"
```
## Environment Variables
| Variable | Description | Default |
|---|---|---|
| PORT | HTTP port | 3004 |
| DATA_DIR | SQLite directory | ./data |
| AUTH_PASSWORD | Optional login password | (empty) |
| NODE_ENV | development or production | development |
| SESSION_SECRET | Required in production | (required) |
## Troubleshooting
### Status shows "Optimal" but value seems wrong
Check the optimal ranges: `GET /api/optimal-ranges`. Ranges may have been customized. The default ranges are for general vegetable production - you may need to adjust for your specific crops.
### Field does not appear in field summary
The field summary only includes fields with at least one soil test. Add a test for the field first.
### Trends chart shows only one data point
Trend lines require at least two tests for the same field. Add a second test with a different date.Related Skills
habit-tracker
Self-hosted daily habit check-in app with streaks, calendar heatmap, and weekly email reports. Use when you need to record a habit check-in, query streak data, create or update habits, review weekly progress, or manage categories. Triggers include "log habit", "check in", "mark done", "streak", "habit progress", "weekly report", or any task involving personal habit tracking.
SKILL.md - cors-tester
## What this tool does
sleep-tracker
No description provided.
nutrition-tracker
No description provided.
medication-tracker
Track medications with dosage schedules, log doses taken or skipped, monitor adherence rates, manage refill reminders, and check basic drug interactions. Use when a user needs to manage their medication schedule, log dose history, or review adherence.
load-test-runner
No description provided.
deployment-tracker
Track every deployment event via CLI or REST API. Searchable web dashboard with service timelines, rollback tracking, and per-service deploy tokens.
ab-testing
Set up and evaluate A/B tests using feature-flag-server. Use when you need to run a multivariate experiment, assign users to variants, track which variant they received, or analyze variant distribution. Triggers include "A/B test", "split test", "experiment", "variant", "multivariate", "rollout percentage", or any task involving exposing different experiences to different users.
regex-tester
Live browser-based regex testing tool with match highlighting, capture group inspection, pattern explanation, and URL sharing
terminal-time-tracker
Track time spent on projects from the terminal. Use when starting/stopping timers, logging time, viewing daily or weekly reports, or exporting time data. Triggers include "track time", "time tracker", "ttm", "log hours", "time report", "how much time", "start timer".
ssh-connection-test
Test SSH connectivity to hosts configured in ~/.ssh/config using sshm. Use when diagnosing connection issues, verifying hosts are reachable, or checking all hosts after a network change. Triggers include "test ssh", "ssh connectivity", "can I connect", "ssh reachable", "sshm test".
Skill: germination-tracker
## Purpose