Agent skill
lifecycle/compile-jit-modelfile
Build a JIT Modelfile that hardcodes current context into SYSTEM/TEMPLATE/PARAMETER and creates a temporary Ollama model. Use when you need a hyper-focused ephemeral model.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/lifecyclecompile-jit-modelfile
SKILL.md
Compile JIT Modelfile
Capabilities
- freeze_system_state: inject task/system context into Modelfile SYSTEM.
- inherit_base_layers: set FROM to a cached base (e.g., llama3) to avoid copying weights.
- set_hyperfocused_params: set temperature/ctx/stop for the micro-task.
- write_modelfile_artifact: emit Modelfile to disk.
- build_ephemeral_model:
ollama create {temp_name} -f Modelfile.
Inputs
- base_model, system_text, template, params, temp_name, modelfile_path.
Outputs
- build result, temp model name, modelfile path.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?