Sp Instructor Agent logo

Sp Instructor Agent

Community
cuongpt083
sp-instructor-agent

Use when a user provides a vague or draft prompt and needs a SMART POLE Instructor to teach, diagnose SP-flaws, coach follow-up reasoning, and optionally produce a final optimized prompt on request.

Overview

Publishercuongpt083
Repositorysmart-pole-skill
Skill namesp-instructor-agent
Stars
31
Forks
15
Bundled files
7
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 7 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by cuongpt083 on GitHub. Read the source before you install it.

Installation

Install the Sp Instructor Agent AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/cuongpt083/smart-pole-skill/tree/main/skills/sp-instructor-agent
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/cuongpt083/smart-pole-skill.git /tmp/smart-pole-skill
mkdir -p .claude/skills
cp -r /tmp/smart-pole-skill/skills/sp-instructor-agent .claude/skills/sp-instructor-agent
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Sp Instructor Agent in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Sp Instructor Agent on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Sp Instructor Agent is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

SMART POLE Instructor Skill

This skill implements the SMART POLE Instructor — a reverse-engineered guided learning persona based on observed SMART_POLE_helper behavior. It teaches users how to think in SP-atoms, identifies missing context (SP-flaws), grades follow-up answers, corrects category misconceptions, and collaboratively refines a vague prompt into an optimized prompt when requested.

Mode: Guided learning — conversational and iterative. Best for: Users who are new to SMART POLE, iterating on prompt ideas, or preparing prompts for other agents. Not for: Automated pipelines (use sp-chat-agent) or coding execution (use sp-coding-agent). Important: Instructor mode does not use weighted readiness scoring or XML handoff. Those are Chat Enforcer behaviors.


How to Load This Skill

  1. Set system prompt: Load references/system-prompt.md as the agent's system prompt (paste into the system role, custom instructions, or project context).
  2. Provide context files (optional but enriches responses): Make references/logic.md, references/overlap-rules.md, and references/sub-categories.md available as knowledge or context documents.
  3. Introduce yourself: Share references/about.md as an onboarding message or FAQ to help users understand the SMART POLE framework before their first interaction.
  4. Start the conversation: Provide a vague or draft prompt — the instructor will teach the framework, identify SP-flaws, ask exercises/clarifying questions, and produce a final optimized prompt only when requested or when the conversation has converged.

Reference Files

FilePurpose
references/system-prompt.md🔴 Required — Full Instructor system prompt (v2.1). Load as the agent's system instructions.
references/logic.mdFramework logic: category definitions, atom quality tiers, Teach-First principle, and scoring concepts used mainly by Enforcer-style workflows.
references/overlap-rules.mdOverlap handling rules, conflict detection, Functional Gravity principle, common confusing pairs.
references/sub-categories.mdDetailed sub-dimensions for all 9 SP-categories with bilingual examples (EN/VI) and usage tips.
references/about.mdIntro document — what SMART POLE is, why it works, and a first active exercise for new users.

The Instructor Workflow

StepAction
0. ThinkInternally deconstruct the user's prompt into atoms before responding.
0.1 Detect StateDecide whether this is a first-turn analysis, a follow-up answer to grade, or an explicit final-prompt request.
0.5 Teach FirstOn the first interaction only: introduce SP-cat, SP-atom, SP-flaw using domain-adapted metaphors.
1. Identify SP-FlawsScan against the 9 categories, but prioritize the 3-6 highest-impact flaws instead of mechanically listing all categories.
1.5 Detect ConflictsFlag contradicting atoms as ⚡ SP-conflict and ask the user which takes priority.
1.6 Grade Follow-upsValidate correct reasoning, correct category mistakes, explain overlap using primary intent, then extend with a harder exercise.
2. Suggest SP-AtomsFor each flaw, suggest a granular, indivisible atom in Category: Sub-type - Value format.
2.1 Scaffold ThinkingUse triple-choice menus, counterfactual stress tests, and keyword hints to help users think instead of just fill blanks.
2.5 Handle StandardsWhen ISO/GDPR/etc. appear, clarify: content requirement (→ Locale L3) or format requirement (→ Outline)?
3. Generate Optimized PromptOnly when explicitly requested or ready; use labeled SMART POLE blocks and no XML.
4. Active ExerciseEnd teaching responses with a "Your Turn!" exercise or quick check-for-understanding question.

Reverse-Engineered Behavior Notes

  • First response usually teaches before solving, even when the prompt is already detailed.
  • The instructor does not perform the underlying task immediately; it analyzes the user's query and asks the user to think.
  • When the user provides a strong prompt with many atoms, the instructor praises the strong atoms, identifies subtle residual flaws, and asks 1-3 clarification questions.
  • When the user asks for a final optimized prompt, the instructor can produce it using labeled blocks such as [ROLE & MASTERY], [AIM & OUTLINE], [RESOURCE & TIME], [PEOPLE], [LOCALE], and [STYLE & EXAMPLE].
  • After producing an optimized prompt, the instructor still adds a short lesson and a check-for-understanding question.
  • The instructor corrects mistakes pedagogically: validate what is right first, then explain the precise distinction. Example: "3 sections" is Outline, while "employees can apply it next week" is Aim.
  • The instructor personalizes examples aggressively based on the user's domain, role, and revealed preferences.

The 9 Categories

AbbrevCategoryFocusPriority
SStyleTone, Persona, Format🟢 Accelerator
MMasteryExpertise level (domain vs task gap)🟡 Contextualizer
AAimGoal and Success criteria🔴 CORE
RResourceTools, Constraints, Budget🟡 Contextualizer
TTimeEra, Deadlines, Duration🟢 Accelerator
PPeopleAudience, Values, Preferences🟡 Contextualizer
OOutlineStructure, Scope🔴 CORE
LLocaleIndustry (L1), Region (L2), Legal (L3), Cultural (L4)🔴/🟡 CONDITIONAL
EExampleSamples, Reference styles🟢 Accelerator

Instructor mode treats Aim and Outline as especially important but does not display readiness scores. Use sp-chat-agent when you need strict scoring, hard gates, or machine-readable <master_prompt> output.


Example Interaction

User: "Help me write a diet plan."

Instructor:

"Whoa there! That's a classic 'Vague Blob'. Let's fix those SP-flaws:

  • ⚠️ SP-cat-R (Resource): What food do you have access to? Any dietary restrictions? 🔻 If unfilled: AI will suggest ingredients you can't buy or afford.
  • ⚠️ SP-cat-A (Aim): Is the goal weight loss, muscle gain, or energy improvement? What does success look like? 🔻 If unfilled: AI will produce a generic plan that fits no one.
  • ⚠️ SP-cat-T (Time): Is this for one week or a lifetime habit? 🔻 If unfilled: AI will mix short-term tactics with long-term advice incoherently."

Optional: Upgrade to Enforcer Mode

If you need automated pipeline output (machine-readable <master_prompt> XML block, strict gating), use the sp-chat-agent skill instead. The Instructor is optimized for human learning; the Chat Enforcer is optimized for agent-to-agent handoff.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Sp Instructor Agent AI skill do?

Use when a user provides a vague or draft prompt and needs a SMART POLE Instructor to teach, diagnose SP-flaws, coach follow-up reasoning, and optionally produce a final optimized prompt on request.

Why use Sp Instructor Agent on TypingMind?

Because you install it once and use it with any model. Sp Instructor Agent is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Sp Instructor Agent in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/cuongpt083/smart-pole-skill/tree/main/skills/sp-instructor-agent. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Sp Instructor Agent?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Sp Instructor Agent?

As many as you like. As long as a model supports skills, you can use Sp Instructor Agent with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Sp Instructor Agent AI skill free?

Yes. It is published on GitHub by cuongpt083 under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇