refine-model
Skill by Center-for-Land-Economics
Re-runs an existing LVTShift city model with changed parameters, such as a different split ratio, a building abatement, new exemptions, or a wider levy scope. Built for analysts who already have a city model.
Install refine-model
Built from the published package, never by AI.
git clone --depth 1 https://github.com/Center-for-Land-Economics/LVTShift /tmp/LVTShift && mkdir -p ~/.claude/skills && cp -r /tmp/LVTShift/.claude/skills/refine-model ~/.claude/skills/refine-modelRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/Center-for-Land-Economics/LVTShift /tmp/LVTShift && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/LVTShift/.claude/skills/refine-model ~/.gemini/antigravity-cli/skills/refine-modelAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill changes modeling choices for a city that already has a model at cities/<city>/model.ipynb. It covers split ratio changes, switches between split-rate and building abatement, exemption treatment, percentage caps, expanded levy scope, tax base changes, and dual rates. It makes the smallest edit that fits the request, then re-executes the notebook and runs the validation gates.
The skill snapshots the current millages, revenue, and category medians before editing. It then re-runs the cross-city comparison and reports a before and after table with the refreshed parcel map. If no model exists, it points the user to the model-city skill. It is aimed at people who want to test alternative land value tax designs for a city.
Written from the project's SKILL.md and checked against it.
What it can do
- Change split ratioSwitches the land to improvement ratio, for example from 4:1 to 2:1, and updates the model type.
- Switch to building abatementChanges a split-rate model to a building abatement model, or reverses the change.
- Change exemption treatmentEdits which classes are fully exempt, and adds or removes dollar relief or percentage caps.
- Expand levy scopeAdds secondary, bond, or county levies and recomputes the target revenue.
- Change tax baseAdjusts how taxable land and improvement values are built, such as assessed to market value.
- Re-validate and compareRe-runs validation gates and the cross-city comparison, then reports a before and after diff.
- Keep scenario copiesSaves a variant as a separate notebook and export so the original model is not overwritten.
What you need
- An existing city model at cities/<city>/model.ipynb
- Jupyter, to re-execute the notebook with nbconvert
- Python 3 kernel
Try asking
- Refine the model for [city]
- Re-run [city] as 2:1 instead of 4:1
- Change [city] to a building abatement
Good to know
- Only works on cities that already have a model; otherwise use the model-city skill.
- Changing the levy scope changes the target revenue and usually the millage source.
- Edits are made in place by default unless a scenario copy is requested.
- Does not commit changes unless the user asks.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/refine-model/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to refine-model
All alternatives →Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.
Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.
Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.
Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.
Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.
Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.
Compare with kaggle-cli, bigquery-bigframes or data-loading
refine-model: common questions
What happens if I change a city model that does not exist yet?
The skill stops and points you to the model-city skill, which builds a new model from the start.
Does the skill keep my original model when I test a variant?
By default it edits in place. If you ask to compare, it copies the notebook to a variant file and exports a separate CSV.
How does it check that a refined model is still valid?
After re-executing, it runs four validation gates covering revenue match, distribution sanity, census coverage, and PNG output.
How do I install refine-model?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is refine-model free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is refine-model safe to use?
It scores 61 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to refine-model?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
