⚡ คู่มือครบวงจร • อัปเดตล่าสุด 2025

เรียนรู้ AI Agent Skills
จากง่ายไปยาก

คู่มือฉบับสมบูรณ์สำหรับเข้าใจและใช้งาน Skills ของ AI Agent — 113 skills ใน 18 หมวดหมู่ พร้อมตัวอย่างการใช้งานจริงที่ทำตามได้

0
Skills ทั้งหมด
0
หมวดหมู่
0
ระดับความยาก
0
+ ตัวอย่าง

Skills คืออะไร?

Skills คือ "ความรู้เฉพาะทาง" ที่ถูกบรรจุไว้ใน AI Agent — เหมือนการให้ AI มีคู่มือการใช้งานสำหรับงานแต่ละประเภท ทำให้ทำงานได้แม่นยำและรวดเร็วยิ่งขึ้น

📦

บรรจุความรู้

แต่ละ skill เก็บคำสั่ง, ขั้นตอน, pitfalls และ best practices สำหรับงานเฉพาะ — เหมือนคู่มือฉบับย่อที่ AI อ่านก่อนทำงาน

เรียกใช้ทันที

ไม่ต้องสอน AI ใหม่ทุกครั้ง — แค่บอกว่าจะทำอะไร AI จะโหลด skill ที่เกี่ยวข้องและทำงานได้ทันที

🔧

ทำงานได้จริง

ไม่ใช่แค่ความรู้ — skills มีคำสั่งที่ใช้งานได้จริง เช่น โค้ด, CLI commands, API calls ที่ AI นำไปปฏิบัติได้ทันที

🧩

ผสานร่วมกัน

โหลดได้หลาย skill พร้อมกัน — เช่น ใช้ liquid-glass + claude-design เพื่อสร้างเว็บสวยๆ ได้ในครั้งเดียว

สำรวจ Skills ตามหมวดหมู่

จัดหมวดตามประเภทงาน — คลิกที่การ์ดเพื่อดูรายละเอียด skills ในหมวดนั้น

🤖

Autonomous AI Agents

มอบหมายงานให้ AI agent ทำแทน — เขียนโค้ด สร้าง PR ตรวจสอบงานอัตโนมัติ

5 skills
claude-code codex hermes-agent opencode kanban-codex-lane
🎨

Creative

สร้างสรรค์งานศิลปะดิจิทัล — diagram, ASCII art, infographic, comic, ออกแบบเว็บ

20 skills
claude-design liquid-glass excalidraw p5js manim-video +15 อื่นๆ
📊

Data Science

วิเคราะห์ข้อมูลด้วย Jupyter notebook — interactive Python แบบ live kernel

1 skill
jupyter-live-kernel
🔧

DevOps

ดูแลระบบ — gateway, kanban workflow, health audit, webhook, deploy

6 skills
hermes-gateway kanban-orchestrator system-health-audit webhook-subscriptions deploy-checklist
📧

Email

ส่ง-รับอีเมลจาก terminal — IMAP/SMTP ผ่าน Himalaya CLI

1 skill
himalaya
🎮

Gaming

เซิร์ฟเวอร์เกม — Minecraft modpack, Pokemon emulator

2 skills
minecraft-modpack-server pokemon-player
🐙

GitHub

GitHub workflow ครบวงจร — repo, PR, code review, issues, auth

7 skills
github-auth github-pr-workflow github-code-review github-issues +3 อื่นๆ
📍

Leisure

ค้นหาสถานที่ใกล้คุณ — ร้านอาหาร คาเฟ่ ร้านขายยา

1 skill
find-nearby
🔌

MCP

เชื่อมต่อ external tools ผ่าน Model Context Protocol — 201+ tools จาก Hostinger

2 skills
native-mcp mcporter
🎬

Media

สื่อดิจิทัล — YouTube, Spotify, GIF, สร้างเพลง, วิเคราะห์เสียง

5 skills
youtube-content spotify heartmula gif-search songsee
🧠

MLOps

Machine Learning lifecycle — train, fine-tune, quantize, serve, evaluate LLMs

22 skills
axolotl vllm peft-fine-tuning stable-diffusion whisper +17 อื่นๆ
📝

Note-taking

จดบันทึกและจัดการ knowledge base ผ่าน Obsidian

1 skill
obsidian
📋

Productivity

เพิ่มผลิตภาพ — Google Workspace, Notion, Airtable, Linear, PowerPoint, OCR

10 skills
google-workspace notion airtable linear +6 อื่นๆ
🛡️

Red Teaming

ทดสอบความปลอดภัยของ LLM — jailbreak techniques

1 skill
godmode
📚

Research

งานวิจัยและข้อมูล — arXiv, RSS feeds, LLM Wiki, Polymarket

5 skills
arxiv blogwatcher llm-wiki polymarket research-paper-writing
💡

Smart Home

ควบคุม smart home — Philips Hue lights, scenes, rooms

1 skill
openhue
📱

Social Media

โพสต์และจัดการ social — X/Twitter ทั้ง API และ scraping

2 skills
xitter xurl
💻

Software Development

พัฒนาซอฟต์แวร์ — Next.js, debugging, TDD, plan, code review, Liquid Glass dashboard

18 skills
nextjs16-patterns liquid-glass-dashboard test-driven-development systematic-debugging +14 อื่นๆ

ระดับความยาก — ง่าย → ยาก

แนะนำให้เริ่มจากระดับเริ่มต้นก่อน แล้วค่อยไประดับที่ยากขึ้นเรื่อยๆ

🟢 เริ่มต้น

พื้นฐาน — ใช้ได้ทันที

  • สร้างไฟล์: write_file("note.txt", "สวัสดี")
  • ค้นหาข้อมูล: ใช้ web search หาข้อมูลและสรุป
  • สร้าง ASCII Art: โหลด skill ascii-art
  • หาสถานที่: ใช้ skill find-nearby
  • สร้างไฟล์โน้ต: ใช้ skill obsidian
  • ดู repo: ใช้ skill github-repo-management
  • ควบคุมไฟ: ใช้ skill openhue
🟡 ระดับกลาง

ประยุกต์ใช้ — ผสมหลายเครื่องมือ

  • มอบหมายงาน: delegate_task ให้ subagent
  • Automation: สร้าง cronjob รันซ้ำ
  • สร้าง Dashboard: Next.js + Liquid Glass
  • Deploy เว็บ: สร้าง + deploy ไป Hostinger
  • GitHub PR: branch → commit → PR → review
  • OCR เอกสาร: สกัดข้อความจาก PDF/ภาพ
  • สร้าง PowerPoint: ใช้ skill powerpoint
🔴 ขั้นสูง

ผู้เชี่ยวชาญ — ระบบซับซ้อน

  • Fine-tune LLM: LoRA/QLoRA ด้วย peft + axolotl
  • Multi-agent: สร้าง orchestration หลาย agent
  • Kanban workflow: ระบบจัดการงานอัตโนมัติ
  • Quantize model: GGUF + serve ด้วย vLLM
  • RLHF training: DPO/GRPO ปรับแต่งด้วย TRL
  • Custom MCP server: สร้าง tool integration เอง
  • GGUF Deploy: llama.cpp local inference

สร้าง Agent Skill ของคุณเอง

คู่มือฉบับสมบูรณ์ — จากไอเดียสู่ skill ที่ใช้งานได้จริง พร้อม case study 3 ระดับ

🧬 กายวิภาคของ Skill

Skill หนึ่งตัวประกอบด้วยไฟล์ SKILL.md ที่มีโครงสร้าง 2 ส่วนหลัก:

---                                              # ← ส่วนที่ 1: YAML Frontmatter
name: my-skill-name                            # ชื่อ skill (lowercase, มีขีด, ≤64 ตัวอักษร)
description: Use when <trigger>. <behavior>.   # คำอธิบาย (≤1024 ตัวอักษร)
version: 1.0.0
author: Your Name
license: MIT
metadata:
  hermes:
    tags: [tag1, tag2]
    related_skills: [other-skill]
---

# Skill Title

## Overview
คำอธิบายสั้นๆ ว่า skill นี้ทำอะไร ทำไมจึงจำเป็น

## When to Use
- เมื่อไหร่ควรใช้
- เมื่อไหร่ไม่ควรใช้

## ขั้นตอนการทำงาน
คำสั่ง, โค้ด, ตัวอย่างแบบทำตามได้

## Common Pitfalls
1. ข้อผิดพลาดที่พบบ่อย → วิธีแก้
2. ข้อผิดพลาดที่พบบ่อย → วิธีแก้

## Verification Checklist
- [ ] รายการตรวจสอบ
📁
name

ชื่อ skill เป็น lowercase ใช้ขีด (-) คั่น

📝
description

เริ่มด้วย "Use when..." บอกว่าเมื่อไหร่ควรใช้

🏷️
tags

คำค้นหาสั้นๆ ทำให้ค้นพบ skill ได้ง่าย

📐
structure

Overview → When to Use → Body → Pitfalls

📋 ขั้นตอนการสร้าง Skill (6 ขั้น)

🔍

1. สำรวจ Skills ที่มี

เช็คก่อนว่ามี skill คล้ายๆ กันอยู่แล้วหรือไม่ — ถ้ามี ควรขยาย skill เดิมแทนสร้างใหม่

✏️

2. เขียน SKILL.md

ระบุ frontmatter ให้ครบ: name, description (Use when...), version, tags, related_skills

📚

3. เขียนเนื้อหา Body

แบ่งเป็น Overview, When to Use, ขั้นตอน, Pitfalls, Verification — ใส่คำสั่งจริงที่ใช้ได้

4. ตรวจสอบ

Validate frontmatter — ชื่อต้อง ≤64 ตัวอักษร, description ≤1024 ตัวอักษร, body ไม่เกิน 100KB

🧪

5. ทดสอบ

เปิด session ใหม่แล้วลองใช้ skill — ดูว่า AI โหลดและใช้งานได้ถูกต้องหรือไม่

💾

6. บันทึก + Commit

บันทึก skill ผ่าน skill_manage หรือ write_file + git commit เพื่อให้ใช้ซ้ำได้

📚 Case Study: 3 Skills จากง่ายไปยาก

🟢 ง่าย: Daily Standup
🟡 กลาง: Auto Deploy
🔴 ยาก: Customer Analysis
🟢 ระดับเริ่มต้น — Skill 1 ไฟล์
1

สถานการณ์

ทีมต้องการสรุปงานประจำวันอัตโนมัติ — อ่าน log จาก Git commits แล้วส่งสรุปทาง Telegram ทุกเช้า

2

เขียน SKILL.md

---
name: daily-standup-bot
description: Use when sending a daily standup summary. Reads git commits, formats a standup report, and sends it via Telegram.
version: 1.0.0
author: Your Name
license: MIT
metadata:
  hermes:
    tags: [standup, automation, telegram]
    related_skills: [hermes-gateway]
---

# Daily Standup Bot

## Overview
สรุปงานประจำวันจาก git commits และส่งทาง Telegram อัตโนมัติ

## When to Use
- เมื่อต้องส่งสรุปงานประจำวัน (daily standup)
- เมื่อต้องการรายงานสิ่งที่ทำในวันนี้
- Don't use for: weekly summary (ใช้ cron job แทน)

## ขั้นตอน
1. อ่าน git log ของวันนี้:
   git log --since="today 00:00" --oneline
2. จัดกลุ่มตามประเภทงาน (feat, fix, refactor)
3. สร้างข้อความสรุปในรูปแบบ:
   ☀️ Standup: วันนี้ทำอะไรบ้าง
4. ส่งทาง Telegram:
   send_message(target='telegram', message=summary)

## Pitfalls
1. ถ้าไม่มี commit ในวันนี้ → ส่งข้อความว่าง
   → แก้: ตรวจสอบก่อน ถ้าว่างให้บอก "ไม่มีงานในวันนี้"
2. ข้อความยาวเกิน → Telegram ตัดที่ 4096 ตัวอักษร
   → แก้: สรุปแต่ละ commit ให้สั้น

## Verification Checklist
- [ ] git log อ่านได้ถูกต้อง
- [ ] ข้อความสรุปมีรูปแบบที่อ่านง่าย
- [ ] ส่ง Telegram สำเร็จ
3

บันทึก Skill

skill_manage(
  action='create',
  name='daily-standup-bot',
  content='...',  # เนื้อหา SKILL.md ทั้งหมด
  category='devops'
)
4

ตั้งเวลาอัตโนมัติ

cronjob(
  action='create',
  schedule='0 9 * * *',  # ทุกวัน 9:00 น.
  prompt='ส่ง standup summary ของวันนี้',
  deliver='telegram',
  skills=['daily-standup-bot']
)
🟡 ระดับกลาง — ใช้หลาย tools + scripts
1

สถานการณ์

สร้าง skill ที่ deploy เว็บจาก Git repo ไปยัง Hostinger อัตโนมัติ — build, zip, upload, verify ครบวงจร

2

โครงสร้างไฟล์

skills/devops/auto-deploy-hostinger/
├── SKILL.md              # คำอธิบาย + ขั้นตอน
├── scripts/
│   ├── build.sh          # สร้าง production build
│   └── deploy.py         # อัปโหลดผ่าน API
└── templates/
    └── nginx.conf        # nginx config template
3

เขียน SKILL.md

---
name: auto-deploy-hostinger
description: Use when deploying a website to Hostinger. Builds, zips, uploads, configures DNS, and verifies deployment automatically.
version: 1.0.0
author: Your Name
license: MIT
metadata:
  hermes:
    tags: [deploy, hostinger, automation, mcp]
    related_skills: [mcporter, native-mcp]
---

# Auto Deploy to Hostinger

## Overview
Deploy เว็บไซต์จาก Git repo ไป Hostinger ครบวงจร
- build → zip → upload → DNS → SSL → verify

## When to Use
- เมื่อต้อง deploy static site หรือ JS app
- เมื่อต้องการ deploy อัตโนมัติจาก git push
- Don't use for: WordPress (ใช้ hosting_importWordpressWebsite)

## ขั้นตอน
1. Build: npm run build หรือใช้ script ใน templates/
2. Zip: สร้าง archive จาก dist/ หรือ build/
   zip -r deploy.zip dist/
3. Deploy: เรียก Hostinger MCP
   mcporter call hostinger.hosting_deployStaticWebsite ...
4. DNS: เพิ่ม A record สำหรับ domain
   DNS_updateDNSRecordsV1 domain="..." zone=[...]
5. SSL: ติดตั้ง certbot บน VPS
6. Verify: curl https://domain → ตรวจ HTTP 200

## Pitfalls
1. node_modules อยู่ใน zip → deploy ช้า + ไฟล์ใหญ่
   → แก้: ใช้ .gitignore หรือ exclude ตอน zip
2. DNS ยังไม่ propagate → เข้าเว็บไม่ได้ทันที
   → แก้: รอ 5-10 นาที หรือใช้ --resolve flag
3. Token หมดอายุ → API ตอบ 401
   → แก้: เก็บ token ใน config ไม่ใช่ในโค้ด

## Verification Checklist
- [ ] Build สำเร็จ ไม่มี error
- [ ] Zip ขนาดเหมาะสม (< 100MB)
- [ ] HTTP 200 จาก domain
- [ ] HTTPS ทำงาน (Let's Encrypt)
- [ ] DNS record ถูกต้อง
4

เขียน deploy script

# scripts/deploy.py
import subprocess, json, os

def deploy(domain, archive_path):
    """Deploy to Hostinger via MCP"""
    result = subprocess.run([
        'node', 'hostinger-api-mcp',
        # MCP will use HOSTINGER_API_TOKEN env var
    ], capture_output=True, text=True,
       env={**os.environ,
            'HOSTINGER_API_TOKEN': read_token()})

    # Call deploy tool
    mcp_call('hosting_deployStaticWebsite', {
        'domain': domain,
        'archivePath': archive_path,
        'removeArchive': True
    })

    # Add DNS
    mcp_call('DNS_updateDNSRecordsV1', {
        'domain': domain,
        'zone': [{'name': '@', 'type': 'A',
                  'records': [{'content': VPS_IP}]}]
    })
5

เพิ่ม nginx template

# templates/nginx.conf
server {
    listen 80;
    server_name {{DOMAIN}};
    root /var/www/{{DOMAIN}};
    index index.html;
    location / {
        try_files $uri $uri/ =404;
    }
    gzip on;
    gzip_types text/css application/javascript
               text/html application/json;
}
🔴 ระดับขั้นสูง — Multi-tool workflow + references
1

สถานการณ์

สร้าง skill ที่วิเคราะห์พฤติกรรมลูกค้าจากหลายแหล่งข้อมูล — ดึงข้อมูลจาก Airtable, รวมกับ Google Sheets, สร้าง chart, สรุปด้วย AI และส่ง report ทางอีเมล

2

โครงสร้างไฟล์ (ซับซ้อน)

skills/data-science/customer-analysis/
├── SKILL.md                    # main skill file
├── references/
│   ├── airtable-api.md         # Airtable query patterns
│   ├── chart-templates.md      # รูปแบบกราฟที่ใช้บ่อย
│   └── report-format.md        # รูปแบบรายงานมาตรฐาน
├── scripts/
│   ├── fetch_data.py           # ดึงข้อมูลจากหลายแหล่ง
│   ├── analyze.py              # วิเคราะห์ + สร้าง insight
│   └── generate_report.py      # สร้าง HTML report
└── templates/
    ├── report.html             # HTML report template
    └── email-template.html     # อีเมล template
3

SKILL.md (แบบย่อ — ดูเต็มใน references/)

---
name: customer-analysis
description: Use when analyzing customer behavior. Pulls data from Airtable + Sheets, generates charts, summarizes with AI, and emails a report.
version: 1.0.0
metadata:
  hermes:
    tags: [data, analysis, airtable, email]
    related_skills: [airtable, google-workspace, jupyter-live-kernel]
---

# Customer Analysis Pipeline

## Overview
Pipeline วิเคราะห์ลูกค้า 5 ขั้นตอน:
Fetch → Clean → Analyze → Visualize → Report

## When to Use
- วิเคราะห์พฤติกรรมการซื้อ
- สรุปข้อมูลลูกค้ารายเดือน/รายไตรมาส
- สร้าง report อัตโนมัติสำหรับทีมการตลาด

## Pipeline Steps

### Step 1: Fetch Data
อ่านจากหลายแหล่ง — ดู references/airtable-api.md
สำหรับ query patterns เฉพาะ

### Step 2: Clean + Merge
ใช้ pandas รวมข้อมูล, จัดการ missing values

### Step 3: Analyze
ดู references/chart-templates.md สำหรับ
chart types ที่แนะนำตามประเภทข้อมูล

### Step 4: Generate Report
รูปแบบ report อยู่ใน references/report-format.md

### Step 5: Email
ส่งผ่าน himalaya CLI

## Pitfalls
1. API rate limit (Airtable 5 req/sec)
   → แก้: ใช้ batch requests
2. ข้อมูลซ้ำซ้อนระหว่างแหล่ง
   → แก้: deduplicate ก่อน merge
3. Chart ออกมาไม่อ่านง่าย
   → แก้: ใช้ template จาก references/
4

references/airtable-api.md (ไฟล์อ้างอิง)

# Airtable API Patterns

## Query with filter
GET /v0/{base_id}/{table_name}?filterByFormula={formula}

## ตัวอย่าง: ลูกค้าที่ซื้อเดือนนี้
filterByFormula=AND(
  {Purchase_Date} >= "2025-01-01",
  {Status} = "completed"
)

## Pagination
- offset จาก response ก่อนหน้า
- max 100 records per request
- batch ทีละ 5 requests เพื่อหลีกเลี่ยง rate limit
5

scripts/fetch_data.py (ดึงข้อมูล)

# scripts/fetch_data.py
import requests, pandas as pd, json

def fetch_airtable(base_id, table, token):
    """ดึงข้อมูลจาก Airtable พร้อม pagination"""
    all_records = []
    offset = None
    while True:
        url = f"https://api.airtable.com/v0/{base_id}/{table}"
        params = {'pageSize': 100}
        if offset:
            params['offset'] = offset
        resp = requests.get(url,
            headers={'Authorization': f'Bearer {token}'},
            params=params)
        data = resp.json()
        all_records.extend(data.get('records', []))
        offset = data.get('offset')
        if not offset:
            break
    return pd.DataFrame([r['fields'] for r in all_records])

def fetch_gsheet(spreadsheet_id, range_name):
    """ดึงข้อมูลจาก Google Sheets"""
    # ใช้ gws CLI
    result = subprocess.run(
        ['gws', 'sheets', 'get', spreadsheet_id, range_name],
        capture_output=True, text=True
    )
    return pd.read_json(result.stdout)
6

scripts/analyze.py (วิเคราะห์)

# scripts/analyze.py
import pandas as pd, matplotlib.pyplot as plt
import seaborn as sns

def analyze(df):
    """วิเคราะห์ + สร้าง charts"""
    insights = {}

    # 1. Top customers
    top = df.nlargest(10, 'total_spent')
    insights['top_customers'] = top[['name','email','total_spent']]

    # 2. Purchase frequency
    freq = df.groupby('customer_id').size()
    insights['avg_frequency'] = freq.mean()

    # 3. Monthly trend
    df['month'] = pd.to_datetime(df['date']).dt.to_period('M')
    monthly = df.groupby('month')['amount'].sum()
    fig, ax = plt.subplots(figsize=(10,5))
    monthly.plot(kind='bar', ax=ax, color='#3b82f6')
    ax.set_title('ยอดซื้อรายเดือน')
    fig.savefig('chart_monthly.png', dpi=150, bbox_inches='tight')

    return insights
7

เรียกใช้ทั้ง pipeline

# ใน execute_code — รัน pipeline ทั้งหมด
from hermes_tools import terminal

# 1. Fetch
terminal('python3 scripts/fetch_data.py > data.json')

# 2. Analyze
terminal('python3 scripts/analyze.py --input data.json')

# 3. Generate report
terminal('python3 scripts/generate_report.py \
  --template templates/report.html \
  --output report.html')

# 4. Send email
terminal('himalaya message send \
  --to "team@company.com" \
  --subject "รายงานวิเคราะห์ลูกค้า" \
  --body "$(cat report.html)"')

💡 หลักการออกแบบ Skill ที่ดี

✅ ควรทำ

  • → เริ่ม description ด้วย "Use when..."
  • → ใส่คำสั่งจริงที่ copy-paste ได้
  • → ระบุ Don't use for: ด้วย
  • → แยกไฟล์ใหญ่เป็น references/*.md
  • → ใส่ Pitfalls ที่เจอจริง
  • → ขนาด 8-15KB เหมาะสมที่สุด

❌ ไม่ควรทำ

  • → Description สั้นเกินไป เช่น "Deploy"
  • → ไม่มีตัวอย่างโค้ด
  • → สร้าง skill ใหม่ที่ทำงานซ้ำกับของเดิม
  • → เขียน SKILL.md ยาวเกิน 100KB
  • → ใส่ข้อมูลลับใน skill (token, password)
  • → ไม่มี Verification Checklist

📊 เปรียบเทียบขนาด Skill

2-5KB
Skill ง่าย
1 ไฟล์, คำสั่งง่ายๆ
8-15KB
Skill มาตรฐาน
หลาย section + scripts
15-50KB
Skill ซับซ้อน
references/ + scripts/
100KB
ขีดจำกัดสูงสุด
ต้องแยกไฟล์แล้ว

ตัวอย่างการใช้งานจริง

6 ตัวอย่างจากง่ายไปยาก — ทำตามได้จริง พร้อมโค้ดตัวอย่าง

🌐 สร้างเว็บไซต์
📊 วิเคราะห์ข้อมูล
💬 Telegram Bot
🐙 GitHub Workflow
🎨 AI ศิลปะ
🧠 Fine-tune LLM
1

โหลด Skills ที่จำเป็น

โหลด claude-design สำหรับออกแบบ และ liquid-glass-on-the-web สำหรับเอฟเฟกต์กระจก

# AI จะโหลดอัตโนมัติเมื่อเห็นคำว่า "สร้างเว็บ"
# หรือระบุชัดเจน:
skill_view(name='claude-design')
skill_view(name='liquid-glass-on-the-web')
2

บอก AI ว่าต้องการเว็บแบบไหน

เพียงบอกแนวคิด — AI จะออกแบบและสร้าง HTML ให้

prompt: "สร้างเว็บ landing page ร้านกาแฟ
  สไตล์ liquid glass dark theme
  มี hero section + menu + contact
  responsive มือถือ"
3

AI สร้างไฟล์ HTML สวยงาม

AI จะเขียน CSS glassmorphism, animated orbs, responsive และตรวจสอบ syntax ให้อัตโนมัติ

4

Deploy ไป Hostinger

ใช้ MCP tools ของ Hostinger เพื่อ deploy และเชื่อม domain

# Deploy static website
mcporter call hostinger.hosting_deployStaticWebsite \
  domain="yourdomain.com" \
  archivePath="./website.zip"
1

โหลด skill jupyter-live-kernel

ใช้ live Python kernel สำหรับการวิเคราะห์ข้อมูลแบบ interactive

2

นำเข้าข้อมูลและวิเคราะห์

import pandas as pd
import matplotlib.pyplot as plt

df = pd.read_csv("sales.csv")
print(df.describe())

df.groupby("month")["revenue"].sum().plot(kind="bar")
plt.title("รายได้รายเดือน")
plt.savefig("chart.png")
3

ใช้ execute_code สำหรับ logic ซับซ้อน

เมื่อต้องประมวลผลหลายขั้น — ใช้ execute_code เพื่อรัน Python ที่เรียก tools หลายตัว

# ใน execute_code
from hermes_tools import read_file, write_file
data = read_file("sales.csv")
# กรอง + สรุป + เขียนผลลัพธ์
write_file("summary.txt", summary_text)
1

โหลด skill hermes-gateway

เชื่อม Telegram/Discord เข้ากับ AI Agent

2

ส่งข้อความผ่าน send_message

send_message(
  target="telegram",
  message="🤖 สวัสดี! นี่คือข้อความจาก AI Agent"
)
3

สร้าง cron job ส่งแจ้งเตือนอัตโนมัติ

cronjob(action='create',
  schedule='0 9 * * *',  # ทุกวัน 9โมงเช้า
  prompt="ตรวจสอบราคาหุ้นและส่งสรุปทาง Telegram",
  deliver='telegram'
)
1

โหลด skill github-pr-workflow

GitHub workflow ครบวงจร — ตั้งแต่สร้าง branch ยา merge

2

สร้าง branch + commit

git checkout -b feat/payment-system
git add .
git commit -m "feat: เพิ่มระบบชำระเงิน"
3

สร้าง PR + Code Review

# โหลด skill code review
skill_view(name='github-code-review')
# AI จะตรวจสอบ diff, security, best practices
# และแนะนำแก้ไข
4

Merge เมื่อผ่าน CI

AI จะตรวจสอบ CI status และ merge เมื่อพร้อม

1

เลือกเครื่องมือสร้างภาพ

Stable Diffusion สำหรับ text-to-image หรือ ComfyUI สำหรับ workflow ซับซ้อน

2

โหลด skill และสร้างภาพ

skill_view(name='stable-diffusion-image-generation')

prompt: """
  พระอาทิตย์ตกที่วัดพระแก้ว,
  สไตล์ watercolor, แสงทอง,
  ultra detailed, 4K
"""
3

ใช้ ComfyUI สำหรับ workflow ซับซ้อน

โหลด skill comfyui เพื่อสร้าง workflow แบบ node-based — img2img, inpainting, upscaling

1

โหลด skills ที่จำเป็น

skill_view(name='axolotl')        # Fine-tuning
skill_view(name='peft-fine-tuning') # LoRA/QLoRA
skill_view(name='weights-and-biases') # Experiment tracking
2

เตรียม dataset

สร้าง dataset ในรูปแบบ instruction-response สำหรับ SFT

# dataset.jsonl
{"instruction": "อธิบาย LoRA", 
 "output": "LoRA เป็นเทคนิคที่..."}
3

ตั้งค่า fine-tuning config

# Axolotl YAML config
base_model: meta-llama/Llama-3-8B
lora_r: 16
lora_alpha: 32
learning_rate: 2e-4
num_epochs: 3
bf16: true
4

Quantize และ Deploy

แปลงเป็น GGUF สำหรับ inference บน CPU หรือ serve ผ่าน vLLM

# Quantize to GGUF
skill_view(name='gguf-quantization')

# Serve with vLLM
skill_view(name='serving-llms-vllm')
# หรือ local inference
skill_view(name='llama-cpp')

AI Agent Features ที่ Skills เรียกใช้

แต่ละ skill ใช้ประโยชน์จาก features เหล่านี้เพื่อทำงานได้สมบูรณ์

🛠️

Tools

terminal, read_file, write_file, search_files, patch

🌐

Browser

navigate, click, type, screenshot, scroll

🤝

Delegation

delegate_task — มอบหมายให้ subagent ทำขนาน

Scheduling

cronjob — รันงานซ้ำตามเวลาที่กำหนด

🧠

Memory

บันทึกความจำข้าม session — preferences, facts

📖

Skills

113 specialized skills ใน 18 หมวดหมู่

💬

Messaging

Telegram, Discord, Slack, Signal

📊

Code Exec

Python sandbox — ประมวลผลข้อมูล

🔌

MCP

เชื่อม external tools — 201+ Hostinger tools

👁️

Vision

วิเคราะห์ภาพ, อ่าน screenshot

🎨

Image Gen

สร้างภาพด้วย SD/ComfyUI

🗣️

TTS

แปลงข้อความเป็นเสียงพูด