Logo di Skill Agent Instructions

Skill Agent Instructions

Community
javiarmesto
skill-agent-instructions

Generate, review, and optimize natural language instructions for Business Central agents (Designer or SDK). Triggers on: agent instructions, InstructionsV1.txt, InstructionsV2.txt, MEMORIZE, qualification rules, agent behavior, instruction keywords, agent task instructions, iterate instructions, or improve agent accuracy. Single source of truth for the Responsibilities-Guidelines-Instructions framework and runtime keywords.

Panoramica

Pubblicato dajaviarmesto
RepositoryALDC-AL-Development-Collection
Nome della skillskill-agent-instructions
Stelle
115
Fork
37
File inclusi
3
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 3

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da javiarmesto su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Skill Agent Instructions in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/javiarmesto/ALDC-AL-Development-Collection/tree/main/.claude/skills/skill-agent-instructions
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/javiarmesto/ALDC-AL-Development-Collection.git /tmp/ALDC-AL-Development-Collection
mkdir -p .claude/skills
cp -r /tmp/ALDC-AL-Development-Collection/.claude/skills/skill-agent-instructions .claude/skills/skill-agent-instructions
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Skill Agent Instructions in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Skill Agent Instructions non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Skill Agent Instructions non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

BC Agent Instructions Skill

Single source of truth for writing the natural-language instructions that guide Business Central agents. These instructions tell the agent runtime how to navigate the UI, read/set fields, invoke actions, and communicate with users.

For SDK architecture and how instructions are loaded see skill-agent-toolkit. For task-creation patterns (Public API, attachments, multi-turn) see skill-agent-task-patterns.

Storage modes

ModeStorageLoaded by
SDK.resources/Instructions/InstructionsV1.txtNavApp.GetResourceAsText() → SecretText → Agent.SetInstructions()
DesignerPaste into Agent Designer wizard text fieldRuntime reads directly from configuration

References:

Key facts about the runtime

  • Instructions are the PRIMARY lever for controlling agent behavior
  • The runtime has specific tools: field setting, lookups, action invocation, page navigation, email composition
  • Instructions must use specific keywords to activate these tools effectively
  • Only English is fully supported — safeguards are optimized for English
  • Shorter, well-structured instructions often outperform verbose ones
  • The agent retains action history but NOT page state — use MEMORIZE

Framework: Responsibilities → Guidelines → Instructions

Every instruction file follows this three-part structure.

1. RESPONSIBILITY (one line)

A single sentence defining the agent's accountability. Anchors all behavior.

**RESPONSIBILITY**: {What the agent is accountable for — one sentence}

Rules:

  • One sentence only — no paragraphs
  • State the business outcome, not technical implementation
  • Include the key domain nouns ("leads", "sales orders", "credit checks")

2. GUIDELINES (cross-task rules)

Rules that apply across all tasks.

**GUIDELINES**:
- ALWAYS {mandatory behavior}
- DO NOT {prohibited action}
- ALWAYS {safety/review gate}

Rules:

  • ALWAYS (bold) for mandatory behaviors
  • DO NOT (bold) for prohibited actions
  • Gate ALL critical actions (posting, sending, releasing, deleting) with user intervention
  • Include data access boundaries (read-only vs. read-write)
  • Include reply/output keywords the agent should use for structured responses
  • Keep to 3-7 guidelines — more causes confusion

3. INSTRUCTIONS (step-by-step per task)

Ordered steps for each task, using runtime keywords.

**INSTRUCTIONS**:

## Task: {Task Name}

1. {Action using keyword}
   a. {Sub-step with detail}
   b. {Sub-step with detail}
2. If {condition}: {action}
   a. **DO NOT** {prohibited action in this context}
3. {Next action}

Rules:

  • One ## Task: section per distinct workflow
  • Numbered steps with lettered sub-steps
  • Use official keywords (table below) to activate runtime tools
  • Place MEMORIZE BEFORE the value is needed in later steps
  • Include error handling at the end of each task
  • Provide example formats for memorized data

Official runtime keywords

KeywordRuntime toolUsage
Navigate to "{Page Name}"Page navigationOpens a page. Name MUST match the agent's profile pages exactly.
Search for {value} in "{Field}"List filteringFilters a list page by a field value.
Set field "{Field}" to {value}Field setterSets a field. Field name must match the page exactly.
Use lookupLookup triggerOpens a lookup on the current field.
Invoke action "{Action}"Action invocationTriggers a page action. Name must match the action caption exactly.
Read "{Field}"Value retrievalReads a field's current value for decision-making.
**Memorize**State retentionStores a key-value pair for reference in later steps.
**Reply**Message outputAgent responds to the task. All outgoing messages require review.
Write an emailEmail compositionComposes an email. Requires user review before sending.
Request user interventionHuman-in-the-loopPauses the agent and asks the user for input/decision.
Request a reviewReview gateAsks user to review work before the agent continues.
Ask for assistanceHelp requestAgent seeks help when stuck or encounters an error.

Critical keyword rules:

  • Page, field, and action names MUST match exactly what the agent sees in its profile
  • MEMORIZE must include an example format: **Memorize**: "Customer: ACME Corp | Credit: 50,000"
  • Reply keywords should include structured output patterns for programmatic parsing
  • The agent does NOT have access to "Tell Me" — all navigation must be via explicit page names

Step-by-step creation workflow

  1. Gather inputs: agent purpose (1 sentence), pages in scope, fields to read/write, actions to invoke, decision criteria, output format, safety gates
  2. Draft RESPONSIBILITY: one sentence with domain + outcome
  3. Draft GUIDELINES: 3-7 rules — at least one ALWAYS, one DO NOT, one safety gate
  4. Draft INSTRUCTIONS per task: navigate → read+MEMORIZE → branch → execute → Reply
  5. Validate with the checklist below
  6. Test and iterate: deploy → observe timeline → refine. Simpler instructions often perform better.

Validation checklist

  • Page names match agent profile and page customizations exactly
  • Field names match the fields visible on the agent's pages exactly
  • Action names match the action captions visible on the agent's pages
  • MEMORIZE placed BEFORE the memorized value is needed in later steps
  • MEMORIZE includes example format (e.g., "Key: value | Key: value")
  • All critical actions (posting, sending, releasing, deleting) gated by user intervention or review
  • Written in English — agent safeguards are optimized for English
  • Environment-agnostic — no hardcoded company names, URLs, user IDs
  • Concise — no redundant prose; each line serves a purpose
  • Error handling section covers: not found, unavailable pages, failed actions
  • Reply formats use consistent keywords for structured parsing
  • No references to "Tell Me" (agents cannot use it)
  • Guidelines count is 3-7 (not too few, not too many)
  • Each task has numbered steps with lettered sub-steps

Anti-patterns

Anti-patternProblemFix
No MEMORIZE before cross-page useAgent loses field values when navigating awayAdd MEMORIZE immediately after reading the value
Vague field names ("the amount")Agent cannot resolve which field to setUse exact field name: Set field "Estimated Budget"
Missing error handlingAgent halts or produces confusing outputAdd error Reply for each failure scenario
Too many guidelines (>7)Agent behavior becomes inconsistentConsolidate into fewer, broader rules
Referencing pages not in profileAgent cannot navigate thereVerify all pages are in the agent's profile
No user intervention on critical opsAgent posts/sends/releases without human checkAdd Request user intervention or Request a review
Contradictory guidelinesUnpredictable behavior on each runRemove contradictions, prioritize by specificity
Hard-coded environment valuesInstructions break across environmentsUse generic references, let setup tables hold specifics
Referencing specific tools by nameTool renames cause regressionsDescribe WHAT to do, not WHICH tool to use

Advanced concepts

Page-specific dynamic instructions

For SDK agents, IAgentTaskExecution.GetAgentTaskPageContext injects dynamic context per page using Liquid-style conditionals:

Consider the following fields:
{% if page.id == 42 %}
Field "The Answer" — the meaning of the universe
{% else %}
Field "Business Data" — standard business field
{% endif %}

Multi-task instructions

When an agent handles multiple tasks, create separate ## Task: sections. The agent selects the task based on input message content. Use distinct keywords in the Reply for programmatic routing:

## Task: Qualify Lead
...Reply: "qualification successful | ..."

## Task: Re-evaluate Lead
...Reply: "re-evaluation complete | ..."

Agent-to-agent handoff

When one agent creates tasks for another:

  • Verify the target agent is configured (check setup fields)
  • Use page actions that trigger task creation (the action handles the API call)
  • MEMORIZE the handoff result for the final reply
  • Include fallback instructions if the handoff action is unavailable

Examples

Load an example only when you need a concrete template:

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Skill Agent Instructions?

Generate, review, and optimize natural language instructions for Business Central agents (Designer or SDK). Triggers on: agent instructions, InstructionsV1.txt, InstructionsV2.txt, MEMORIZE, qualification rules, agent behavior, instruction keywords, agent task instructions, iterate instructions, or improve agent accuracy. Single source of truth for the Responsibilities-Guidelines-Instructions framework and runtime keywords.

Perché usare Skill Agent Instructions su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Skill Agent Instructions è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Skill Agent Instructions in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/javiarmesto/ALDC-AL-Development-Collection/tree/main/.claude/skills/skill-agent-instructions. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Skill Agent Instructions?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Skill Agent Instructions?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Skill Agent Instructions: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Skill Agent Instructions è gratuita?

Sì. È pubblicata su GitHub da javiarmesto con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇