set_llm_instructions

Apply custom LLM instructions to steer future in-session responses.

5|Updated Aug 9, 2025
One-click install
npx skills add https://github.com/gatovillano/KogniTerm --skill set-llm-instructions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: set_llm_instructions
Source: https://github.com/gatovillano/KogniTerm/tree/main/kogniterm/skills/bundled/set_llm_instructions
Command: npx skills add https://github.com/gatovillano/KogniTerm --skill set-llm-instructions

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pydantic, and includes scripts (resource) components.

What problem does it solve?

set_llm_instructions enables configuring tailored instructions for the LLM to steer its future interactions. It allows defining tone, formatting and behavior directives that apply across subsequent prompts within the same session.

Core Features & Use Cases

  • In-session customization: Set and enforce custom instructions for all future responses in the current session.
  • Flexible directives: Control tone, technical level, formatting, and content emphasis.
  • Use Case: Adapt the LLM to a high-precision coding task by enforcing concise, formal explanations and consistent formatting.

Quick Start

Provide a sample instruction to the LLM to always respond in a formal, technical style for subsequent prompts.

Frequently Asked Questions about set_llm_instructions

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set custom LLM instructions to change tone and formatting for future prompts?

To set custom LLM instructions, you provide directives for tone, formatting, and behavior using a strict input schema. The validated instructions are stored in-memory and steer all subsequent interactions within the current session until updated.

Can I enforce custom LLM behavior across multiple prompts in the same session?

Yes, you can enforce custom LLM behavior across multiple prompts by applying session-based instructions. Once configured, the directives persist in-memory and affect all subsequent responses within that specific session until explicitly changed.

What's the best way to adapt an LLM for a high-precision coding task with formal explanations?

The best way to adapt an LLM for a high-precision coding task is to set custom instructions that enforce concise, formal explanations and consistent formatting. These directives persist in-memory to steer all subsequent responses within the active session.

Do I need pydantic to apply session-based LLM instructions?

Yes, you need pydantic installed to apply session-based LLM instructions. The Skill uses pydantic to enforce a strict input schema that validates your custom tone, formatting, and behavior directives before storing them in-memory.

Are custom LLM instructions preserved across different sessions?

No, custom LLM instructions are not preserved across different sessions. The directives are stored strictly in-memory for the current session only, meaning they affect subsequent responses temporarily and must be reapplied for new sessions.

Why use a strict input schema for setting LLM behavior directives?

Using a strict input schema for setting LLM behavior directives ensures that tone, formatting, and content emphasis rules are properly validated before being applied. This prevents malformed instructions from disrupting in-session LLM customization.