Ai4pkm Helper 标志

Ai4pkm Helper

社区
jykim
ai4pkm-helper

AI4PKM helper for orchestrator configuration, worker management, and CLI workflow integration.

Add to TypingMind

概览

发布者jykim
代码仓库claude-obsidian-skills
技能名称ai4pkm-helper
星标数
52
复刻数
10
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 jykim 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Ai4pkm Helper AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/jykim/claude-obsidian-skills/tree/main/ai4pkm-helper
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jykim/claude-obsidian-skills.git /tmp/claude-obsidian-skills
mkdir -p .claude/skills
cp -r /tmp/claude-obsidian-skills/ai4pkm-helper .claude/skills/ai4pkm-helper
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Ai4pkm Helper,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Ai4pkm Helper。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Ai4pkm Helper 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

AI4PKM Helper

This skill provides guidance for configuring and managing AI4PKM orchestrator and workers. It helps users set up agents, configure multi-worker execution, and manage CLI workflows.

AI4PKM Architecture

3-tier model:

  • Storage: Markdown files (AI-optimal format)
  • Interface: Obsidian for viewing/editing, Claude Code for AI interaction
  • Core: Orchestrator for automation, CLI for quick commands
  • GUI: Gobi Desktop wraps all above with visual interface

When to Use This Skill

Claude should automatically load this skill when:

  • User wants to add, modify, or remove agents/nodes in orchestrator.yaml
  • User wants to configure multi-worker execution (comparing AI models)
  • User wants to update orchestrator defaults (executor, timeout, max_parallel)
  • User wants to add or modify pollers (limitless, apple_photos, apple_notes)
  • User asks about CLI commands for orchestrator management
  • User needs help with orchestrator.yaml structure

Quick Commands

markdown
"워커 설정" / "Worker config" → Worker Configuration Guide
"에이전트 추가" / "Add agent" → Add New Agent Node
"폴러 설정" / "Poller config" → Poller Configuration
"설정 보기" → Show Current Config (ai4pkm --show-config)
"에이전트 목록" → List Agents (ai4pkm --list-agents)
"Orchestrator 설정" → Orchestrator Setup Module
"태스크 추가" → Task Management Module

Core Modules

Module 1: Orchestrator Setup (워크플로우 자동화)

Purpose: Configure orchestrator.yaml for event-driven automation

Key Concepts:

  • Node: Event-driven agent that triggers on file changes or schedules
  • Executor: AI engine to run (claude_code, codex_cli, gemini_cli)
  • Poller: External data sync (limitless, apple_photos, apple_notes)
  • Worker: Execution unit within a node (supports multi-worker for model comparison)

Setup Process:

  1. Explain orchestrator purpose and benefits
  2. Show orchestrator.yaml structure (nodes, pollers, defaults)
  3. Configure first agent (e.g., EIC - Enrich Ingested Content)
  4. Test agent execution with file trigger

Prompt: AI4PKM - Orchestrator Setup.md

Example Configuration (current format):

yaml
version: "1.0"

orchestrator:
  prompts_dir: _Settings_/Prompts
  tasks_dir: _Settings_/Tasks
  logs_dir: _Settings_/Logs
  skills_dir: _Settings_/Skills
  max_concurrent: 3
  poll_interval: 1

defaults:
  executor: claude_code
  timeout_minutes: 30
  max_parallel: 3
  task_create: true

nodes:
  - type: agent
    name: Enrich Ingested Content (EIC)
    input_path: Ingest/Clippings
    output_path: AI/Articles
    executor: claude_code

  - type: agent
    name: Daily Driver Workflow (DDW)
    cron: "15,45 * * * *"
    output_path: Journal
    completion_status: IGNORE
    agent_params:
      calendars:
        - Default
        - Work
      past_hours: 24
      future_days: 3
      goals_file: _Settings_/Goals & Principles.md
      roundup_lookback_days: 7

pollers:
  limitless:
    enabled: true
    target_dir: "Ingest/Limitless"
    poll_interval: 300

Node Configuration Fields Reference

필드필수설명예시
type✓노드 타입agent
name✓Agent 이름Enrich Ingested Content (EIC)
prompt프롬프트 파일 참조 (ABBR)EIC
input_path입력 디렉토리 (파일 트리거)Ingest/Clippings
output_path출력 디렉토리AI/Articles
executor실행 엔진claude_code, codex_cli, gemini_cli
cron스케줄 실행 (cron 표현식)"15,45 * * * *"
enabled활성화 여부true / false
timeout_minutes타임아웃30
completion_status완료 후 상태DONE, IGNORE
agent_paramsAgent-specific 파라미터(object)
workersMulti-Worker 설정(list)

Node Types

TypeTriggerExample
File-triggeredNew/updated file in input_pathEIC, GDR
Cron-scheduledTime-based (cron expression)DDW

Worker Configuration Fields

Multi-worker 설정 시 각 worker에 사용 가능한 필드:

필드설명예시
executor실행 엔진claude_code, gemini_cli
labelWorker 식별 라벨Claude, Gemini
output_pathWorker별 출력 경로AI/Summary/Claude
agent_paramsWorker별 파라미터(object)

Multi-Worker 설정 예시 (여러 AI 모델 비교/평가):

yaml
- type: agent
  name: Article Summary Comparison
  prompt: EIC
  input_path: Ingest/Articles
  workers:
    - executor: gemini_cli
      label: Gemini
      output_path: AI/Summary/Gemini
    - executor: claude_code
      label: Claude
      output_path: AI/Summary/Claude
    - executor: codex_cli
      label: Codex
      output_path: AI/Summary/Codex

Poller Configuration

Pollers sync external data sources to your vault.

Poller설명주요 설정
limitlessLimitless 라이프로그 동기화target_dir, poll_interval
apple_photosApple Photos 동기화target_dir, albums
apple_notesApple Notes 동기화target_dir, folders

Poller 설정 예시:

yaml
pollers:
  limitless:
    enabled: true
    target_dir: "Ingest/Limitless"
    poll_interval: 300

  apple_photos:
    enabled: false
    target_dir: "Ingest/Photos"
    albums:
      - "Screenshots"
      - "PKM"

  apple_notes:
    enabled: false
    target_dir: "Ingest/Notes"
    folders:
      - "Quick Notes"

CLI Quick Reference

Command설명
ai4pkm --show-config현재 설정 보기
ai4pkm --list-agents에이전트 목록
ai4pkm --run <agent>특정 에이전트 실행
ai4pkm --enable <agent>에이전트 활성화
ai4pkm --disable <agent>에이전트 비활성화
ai4pkm --status실행 상태 확인
ai4pkm --logs로그 확인

Common Configuration Tasks

Add New Agent
  1. Open orchestrator.yaml
  2. Add new node under nodes::
yaml
  - type: agent
    name: Your New Agent (ABBR)
    input_path: Ingest/YourFolder
    output_path: AI/YourOutput
    executor: claude_code
  1. Create corresponding prompt in _Settings_/Prompts/
Enable/Disable Agent
yaml
  - type: agent
    name: Some Agent
    enabled: false  # Add this line to disable
Set Up Multi-Worker Comparison
  1. Replace single executor with workers list
  2. Define output_path per worker to separate results
  3. Use consistent labels for tracking

Module 2: Task Management (태스크 관리)

Purpose: Add, update, and track tasks in AI4PKM system

Operations:

  • Add Task: Create new task with description, category, priority
  • Update Status: Mark tasks as in_progress, completed, or blocked
  • View Tasks: List tasks by status, category, or date

Prompt: AI4PKM - Add Task.md

Task Categories:

  • 🔍 Research
  • 📐 Design
  • 🛠️ Implement
  • ✍️ Write
  • 📝 Docs & System

Voice Mode Configuration

Language Support

  • Support both English and Korean
  • Use tts_model="gpt-4o-mini-tts" for natural pronunciation
  • Continue conversation naturally

Listening Behavior

  • Patient listening: Wait for user to finish (use min_listen_duration=8)
  • Adaptive waiting: Don't interrupt incomplete thoughts
  • Use vad_aggressiveness=0 for permissive voice detection

Progress Updates

  • For long operations (10+ seconds), provide voice updates
    • "지금 설정 확인 중이에요..." / "에이전트 추가하는 중입니다..."
  • Keep user informed throughout process

Example Interactions

Adding an Agent

User: 에이전트 추가해줘
Agent: 어떤 에이전트를 추가할까요?
       - 파일 기반 (input_path 필요)
       - 스케줄 기반 (cron 필요)
User: 파일 기반, Ingest/Articles 폴더 감시해서 AI/Summaries에 요약 저장
Agent: 다음 설정으로 추가할게요:
       - name: Article Summarizer
       - input_path: Ingest/Articles
       - output_path: AI/Summaries
       - executor: claude_code
       프롬프트는 어떤 걸 사용할까요?

Configuring Multi-Worker

User: 여러 모델로 비교하고 싶어
Agent: Multi-worker 설정을 도와드릴게요.
       어떤 모델들을 비교할까요?
       - claude_code (Claude)
       - gemini_cli (Gemini)
       - codex_cli (Codex)
User: Claude랑 Gemini
Agent: 각 모델 결과를 어디에 저장할까요?
       예: AI/Compare/Claude, AI/Compare/Gemini

Implementation Notes

Prompt Chaining

Each prompt is independent but connected:

  • Input: Previous step's output (optional)
  • Process: Execute current step
  • Output: Results for next step

Semi-Automatic Execution

  • Each step requires user confirmation
  • Keywords: "완료", "다음", "계속" → proceed
  • Keywords: "중단", "나중에" → pause
  • User can resume from any step

Error Handling

  • Clear error messages in Korean
  • Suggest fixes or alternatives
  • Allow retry or skip (when safe)
  • Never leave user stuck

Files Structure

_Settings_/Skills/ai4pkm-helper/
├── SKILL.md                    # This file
└── modules/                    # (Future: detailed module guides)
    ├── orchestrator.md
    └── tasks.md

_Settings_/Prompts/
├── AI4PKM - Orchestrator Setup.md
├── AI4PKM - Add Task.md
└── ...

orchestrator.yaml               # Main config file (vault root)

References

Documentation

  • Orchestrator config reference: orchestrator.yaml
  • CLI documentation: ai4pkm --help

Design Documents

  • [[AI/Analysis/2025-12-10 AI4PKM Onboarding Agent Design - Claude Code]]

Troubleshooting

Common Issues

"에이전트가 실행 안 돼요" → ai4pkm --status로 상태 확인 후, 로그 확인: ai4pkm --logs

"폴러가 동작 안 해요" → pollers: 섹션에서 enabled: true 확인, poll_interval 값 확인

"Multi-worker 결과가 섞여요" → 각 worker에 다른 output_path 지정했는지 확인

"cron이 트리거 안 돼요" → cron 표현식 문법 확인, ai4pkm --status로 다음 실행 시간 확인

"설정 변경이 반영 안 돼요" → orchestrator 재시작 필요: ai4pkm --restart

Future Enhancements

Planned (v2.1+)

  • GUI-based config editor (Gobi Desktop)
  • Agent template library
  • Performance monitoring dashboard
  • Webhook triggers support
  • Remote execution support

Notes

  • Config validation: Always validate YAML syntax before saving
  • Backup: Keep backup of working orchestrator.yaml
  • Testing: Test new agents with small input sets first
  • Logging: Check logs for troubleshooting execution issues

常见问题

Ai4pkm Helper AI 技能有什么作用?

AI4PKM helper for orchestrator configuration, worker management, and CLI workflow integration.

为什么在 TypingMind 中使用 Ai4pkm Helper?

因为您只需安装一次,就能搭配任何模型使用。Ai4pkm Helper 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Ai4pkm Helper?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/jykim/claude-obsidian-skills/tree/main/ai4pkm-helper。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Ai4pkm Helper?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Ai4pkm Helper 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Ai4pkm Helper 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Ai4pkm Helper AI 技能免费吗?

是的。jykim 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇