Logotipo de Fsm Kb Generation

Fsm Kb Generation

Organización
Happy-Technologies-LLC
fsm-kb-generation

Generate field service knowledge articles from completed work orders including repair procedures, parts lists, safety notes, and troubleshooting guides

Descripción general

EditorHappy-Technologies-LLC
Repositoriohappy-platform-skills
Nombre de la habilidadfsm-kb-generation
Estrellas
41
Forks
14
Archivos incluidos
Solo instrucciones
LicenciaApache-2.0
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por Happy-Technologies-LLC en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Fsm Kb Generation en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/Happy-Technologies-LLC/happy-platform-skills/tree/main/skills/fsm/kb-generation
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Happy-Technologies-LLC/happy-platform-skills.git /tmp/happy-platform-skills
mkdir -p .claude/skills
cp -r /tmp/happy-platform-skills/skills/fsm/kb-generation .claude/skills/fsm-kb-generation
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Fsm Kb Generation en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Fsm Kb Generation automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Fsm Kb Generation no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

Field Service Knowledge Article Generation

Overview

This skill covers generating knowledge base articles from completed field service work orders:

  • Extracting repair procedures from work order tasks and technician notes
  • Compiling parts lists with part numbers, quantities, and sourcing information
  • Documenting safety precautions and compliance requirements for specific equipment types
  • Creating troubleshooting decision trees from resolution patterns across similar work orders
  • Generating equipment-specific maintenance guides from recurring work order data
  • Publishing articles to the appropriate knowledge base with proper categorization

When to use: When a work order reveals a reusable repair procedure, when recurring equipment issues suggest a knowledge gap, when onboarding new field technicians, or when field service managers want to standardize procedures across the team.

Prerequisites

  • Roles: knowledge_manager, knowledge_admin, wm_admin, or admin
  • Plugins: com.snc.work_management (FSM), com.glideapp.knowledge (Knowledge Management)
  • Access: Read access to wm_order, wm_task, wm_parts_request, alm_asset; Write access to kb_knowledge
  • Data: Completed work orders with populated work notes and task details
  • Related Skills: knowledge/article-generation for general KB article creation, fsm/work-order-summarization for work order data extraction

Procedure

Step 1: Identify Source Work Orders

Find completed work orders with rich resolution data suitable for knowledge capture.

MCP Approach:

Tool: SN-Query-Table
Parameters:
  table_name: wm_order
  query: state=closed^close_code=resolved^sys_updated_on>=javascript:gs.daysAgo(30)^ORDERBYDESCsys_updated_on
  fields: sys_id,number,short_description,category,subcategory,cmdb_ci,asset,close_notes,assignment_group,closed_at
  limit: 50

REST Approach:

GET /api/now/table/wm_order
  ?sysparm_query=state=closed^close_code=resolved^sys_updated_on>=javascript:gs.daysAgo(30)^ORDERBYDESCsys_updated_on
  &sysparm_fields=sys_id,number,short_description,category,subcategory,cmdb_ci,asset,close_notes,assignment_group,closed_at
  &sysparm_limit=50
  &sysparm_display_value=true

Selection Criteria for KB-Worthy Work Orders:

CriteriaWhy It Matters
Complex resolution (>2 tasks)Multi-step procedures benefit from documentation
Recurring issue (>3 similar WOs)Pattern indicates knowledge gap
Specialized equipmentUncommon repairs need documented expertise
Safety-critical workSafety procedures must be formally documented
New technician performedTraining opportunity; capture while fresh

Step 2: Extract Work Order Task Details

Pull the task-level detail that forms the basis of the repair procedure.

MCP Approach:

Tool: SN-Query-Table
Parameters:
  table_name: wm_task
  query: work_order=[WO_SYS_ID]^ORDERBYsequence
  fields: sys_id,number,short_description,description,state,assigned_to,actual_work_duration,close_notes,sequence
  limit: 20

REST Approach:

GET /api/now/table/wm_task
  ?sysparm_query=work_order=[WO_SYS_ID]^ORDERBYsequence
  &sysparm_fields=sys_id,number,short_description,description,state,assigned_to,actual_work_duration,close_notes,sequence
  &sysparm_display_value=true

Step 3: Extract Technician Notes

Retrieve work notes containing the technician's observations and actions.

MCP Approach:

Tool: SN-Query-Table
Parameters:
  table_name: sys_journal_field
  query: element_id=[WO_SYS_ID]^element=work_notes^ORDERBYsys_created_on
  fields: value,sys_created_on,sys_created_by
  limit: 30

Also retrieve task-level notes:

Tool: SN-Query-Table
Parameters:
  table_name: sys_journal_field
  query: element_id=[TASK_SYS_ID]^element=work_notes^ORDERBYsys_created_on
  fields: value,sys_created_on,sys_created_by
  limit: 20

Step 4: Retrieve Parts Information

Compile the parts used in the repair.

MCP Approach:

Tool: SN-Query-Table
Parameters:
  table_name: wm_parts_request
  query: work_order_task.work_order=[WO_SYS_ID]
  fields: sys_id,part,part_number,quantity_requested,quantity_received,state,stockroom
  limit: 30

REST Approach:

GET /api/now/table/wm_parts_request
  ?sysparm_query=work_order_task.work_order=[WO_SYS_ID]
  &sysparm_fields=sys_id,part,part_number,quantity_requested,quantity_received,state,stockroom
  &sysparm_display_value=true

Step 5: Retrieve Asset and Equipment Details

Get the equipment specifications relevant to the repair.

MCP Approach:

Tool: SN-Get-Record
Parameters:
  table_name: alm_asset
  sys_id: [ASSET_SYS_ID]
  fields: sys_id,display_name,model,model_category,serial_number,manufacturer,asset_tag,location,warranty_expiration
Tool: SN-Get-Record
Parameters:
  table_name: cmdb_ci
  sys_id: [CI_SYS_ID]
  fields: sys_id,name,sys_class_name,manufacturer,model_id,operational_status,maintenance_schedule

Step 6: Find Similar Work Orders for Pattern Enrichment

Look for related work orders to enrich the knowledge article with additional context.

MCP Approach:

Tool: SN-Query-Table
Parameters:
  table_name: wm_order
  query: state=closed^cmdb_ci=[CI_SYS_ID]^sys_id!=[CURRENT_WO_SYS_ID]
  fields: sys_id,number,short_description,close_notes,category
  limit: 10
Tool: SN-Query-Table
Parameters:
  query: 123TEXTQUERY321=[equipment type] repair [symptom description]
  table_name: wm_order
  fields: number,short_description,close_notes

Step 7: Identify the Target Knowledge Base and Category

Find the appropriate knowledge base and category for the article.

MCP Approach:

Tool: SN-Query-Table
Parameters:
  table_name: kb_knowledge_base
  query: active=true^titleLIKEfield service
  fields: sys_id,title,description,owner
  limit: 5
Tool: SN-Query-Table
Parameters:
  table_name: kb_category
  query: kb_knowledge_base=[KB_BASE_SYS_ID]^active=true
  fields: sys_id,label,parent_id,full_category
  limit: 50

Step 8: Generate the Knowledge Article

Compose the article with structured sections.

MCP Approach:

Tool: SN-Create-Record
Parameters:
  table_name: kb_knowledge
  data:
    kb_knowledge_base: [KB_BASE_SYS_ID]
    kb_category: [CATEGORY_SYS_ID]
    short_description: "Repair Procedure: [Equipment Model] - [Issue Description]"
    article_type: "text"
    workflow_state: "draft"
    text: |
      <h2>Overview</h2>
      <p>This article documents the repair procedure for [issue description] on [equipment model/type]. Procedure derived from work order [WO number] completed on [date].</p>

      <h3>Applies To</h3>
      <ul>
        <li>Equipment: [model name and number]</li>
        <li>Manufacturer: [manufacturer]</li>
        <li>Category: [equipment category]</li>
        <li>Serial Number Range: [if applicable]</li>
      </ul>

      <h3>Symptoms</h3>
      <ul>
        <li>[Symptom 1 reported by customer or detected by technician]</li>
        <li>[Symptom 2]</li>
        <li>[Symptom 3]</li>
      </ul>

      <h2>Safety Precautions</h2>
      <div style="border: 2px solid red; padding: 10px; margin: 10px 0;">
        <strong>WARNING:</strong>
        <ul>
          <li>[Safety precaution 1 - e.g., Disconnect power before servicing]</li>
          <li>[Safety precaution 2 - e.g., Wear appropriate PPE]</li>
          <li>[Lockout/Tagout requirements if applicable]</li>
          <li>[Environmental considerations]</li>
        </ul>
        <p>Required PPE: [list of personal protective equipment]</p>
      </div>

      <h2>Tools Required</h2>
      <ul>
        <li>[Tool 1]</li>
        <li>[Tool 2]</li>
        <li>[Specialized equipment if needed]</li>
      </ul>

      <h2>Parts Required</h2>
      <table>
        <tr><th>Part</th><th>Part Number</th><th>Quantity</th><th>Source</th></tr>
        <tr><td>[Part name]</td><td>[Part #]</td><td>[Qty]</td><td>[Stockroom/Vendor]</td></tr>
      </table>

      <h2>Repair Procedure</h2>
      <ol>
        <li><strong>[Step from Task 1]:</strong> [Detailed instruction from technician notes]</li>
        <li><strong>[Step from Task 2]:</strong> [Detailed instruction]</li>
        <li><strong>[Step from Task 3]:</strong> [Detailed instruction]</li>
        <li><strong>Verification:</strong> [How to verify the repair was successful]</li>
      </ol>

      <h2>Troubleshooting</h2>
      <table>
        <tr><th>Symptom</th><th>Possible Cause</th><th>Resolution</th></tr>
        <tr><td>[Symptom]</td><td>[Cause]</td><td>[Fix]</td></tr>
      </table>

      <h2>Estimated Time</h2>
      <p>Total repair time: [actual_work_duration from WO]</p>
      <ul>
        <li>Diagnosis: [time]</li>
        <li>Repair: [time]</li>
        <li>Testing: [time]</li>
      </ul>

      <h2>References</h2>
      <ul>
        <li>Source Work Order: [WO number]</li>
        <li>Technician: [assigned_to]</li>
        <li>Date Performed: [date]</li>
        <li>Related Work Orders: [list]</li>
      </ul>
    author: [CURRENT_USER]
    valid_to: "2027-03-19"

Step 9: Add Keywords and Metadata

Enhance discoverability with keywords and meta information.

MCP Approach:

Tool: SN-Update-Record
Parameters:
  table_name: kb_knowledge
  sys_id: [KB_ARTICLE_SYS_ID]
  data:
    meta: "[equipment model], [manufacturer], [issue type], [repair type], field service, [category]"
    roles: "wm_agent,wm_dispatcher,wm_admin"

Step 10: Submit for Review and Publication

Submit the article for knowledge manager review.

MCP Approach:

Tool: SN-Update-Record
Parameters:
  table_name: kb_knowledge
  sys_id: [KB_ARTICLE_SYS_ID]
  data:
    workflow_state: "review"
    work_notes: "Auto-generated from work order [WO number]. Please review procedure accuracy, safety notes, and parts list before publishing."

Tool Usage

ToolPurposeWhen to Use
SN-Query-TableExtract work order, task, parts, and journal dataData collection from source WOs
SN-Create-RecordCreate the knowledge articleArticle generation
SN-Get-RecordGet specific asset or equipment detailsEquipment specification lookup
SN-Natural-Language-SearchFind similar work orders and existing KB articlesPattern discovery and deduplication

Best Practices

  1. Always include safety precautions -- field service work may involve hazardous conditions
  2. Use actual technician language -- preserve practical terminology from work notes
  3. Include photos/diagrams -- reference attachment sys_ids from work orders when available
  4. Add estimated times -- use actual durations from completed work orders
  5. Cross-reference related articles -- link to related equipment or procedure articles
  6. Set review cycles -- articles should be reviewed annually or after significant procedure changes
  7. Include part alternatives -- note substitute parts when original parts are discontinued
  8. Document failure modes -- capture what went wrong and how it was diagnosed
  9. Tag equipment models -- ensure articles are findable by equipment model and manufacturer
  10. Start with draft status -- always submit for review before publishing

Troubleshooting

IssueCauseResolution
Work notes are emptyTechnicians not documenting their workExtract from close_notes or task descriptions instead; coach technicians on note-taking
Parts data incompleteParts not tracked through wm_parts_requestCheck task work notes for manually documented parts; query alm_consumable
Duplicate article createdSimilar article already existsSearch KB before creating; use NL-Search to find existing coverage
Article too technicalTarget audience is junior techniciansSimplify language; add prerequisite skill notes; include glossary
Safety notes missingSource WO did not document safetyAdd standard safety notes based on equipment category; consult safety manual
Equipment model not foundAsset record incompleteLook up manufacturer documentation; use CI record as fallback

Examples

Example 1: HVAC Compressor Replacement

Source: Work order WO0056789 - HVAC compressor failure at Building A.

KB Article: Repair Procedure: Carrier 50XC - Compressor Replacement
Category: HVAC > Compressor

SAFETY: Disconnect power, recover refrigerant per EPA regulations,
wear safety glasses and gloves.

PARTS: 1x Compressor (P/N: 06DA8186), 1x Contactor (P/N: HN52KD024),
Refrigerant R-410A (5 lbs)

PROCEDURE:
1. Recover refrigerant using approved recovery unit
2. Disconnect electrical connections and tag wires
3. Disconnect refrigerant lines (suction and discharge)
4. Remove mounting bolts and extract compressor
5. Install new compressor with new mounting grommets
6. Reconnect refrigerant lines with new copper fittings
7. Reconnect electrical per wiring diagram
8. Evacuate system to 500 microns
9. Charge with R-410A per manufacturer spec
10. Run test cycle and verify superheat/subcool readings

EST. TIME: 4 hours

Example 2: Elevator Door Sensor Repair

Source: Multiple work orders for elevator door sensor issues.

KB Article: Troubleshooting Guide: Otis Gen2 - Door Sensor Faults
Category: Elevator > Door Systems

TROUBLESHOOTING DECISION TREE:
1. Door not opening -> Check door operator power -> Replace fuse / reset breaker
2. Door opens partially -> Check obstruction sensor alignment -> Realign sensors
3. Door reverses immediately -> Clean sensor lenses -> Replace if cleaning fails
4. Intermittent door faults -> Check wiring harness for damage -> Repair/replace harness

PARTS: Door sensor assembly (P/N: GAA24350BD11), Sensor lens kit (P/N: DCD-500)

Related Skills

  • knowledge/article-generation - General knowledge article creation
  • fsm/work-order-summarization - Summarize work order data
  • knowledge/gap-analysis - Identify knowledge base gaps
  • knowledge/duplicate-detection - Detect duplicate articles
  • knowledge/content-recommendation - Recommend related content

Preguntas frecuentes

¿Qué hace la habilidad de IA Fsm Kb Generation?

Generate field service knowledge articles from completed work orders including repair procedures, parts lists, safety notes, and troubleshooting guides

¿Por qué usar Fsm Kb Generation en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Fsm Kb Generation está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Fsm Kb Generation en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/Happy-Technologies-LLC/happy-platform-skills/tree/main/skills/fsm/kb-generation. TypingMind lee el archivo SKILL.md de esa carpeta e instala su contenido como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Fsm Kb Generation?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Fsm Kb Generation?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Fsm Kb Generation con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Fsm Kb Generation?

Sí. Happy-Technologies-LLC la ha publicado en GitHub bajo la licencia Apache-2.0. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇