본문으로 건너뛰기
Skillpedia
프롬프트 및 LLM81k · #1689

chat-format

하는 일

이 스킬은 채팅 메시지 목록을 로컬 AI 모델이 기대하는 정확한 텍스트 형식으로 바꿉니다. 자기 컴퓨터에서 AI 모델을 실행하면서 프롬프트 형식을 맞춰야 하는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓로컬 모델을 실행하면서 프롬프트를 템플릿 형식으로 만들어야 할 때.
  • ✓몇 가지 명명된 의도 중 하나로 질문을 보내는 작은 라우터가 필요할 때.
  • ✓llama.cpp, Ollama 같은 로컬 실행 환경에 맞춰 프롬프트를 준비할 때.

스킬 링크

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-ruvllm/skills/chat-format/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-ruvllm/skills/chat-format/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이 채팅을 내 로컬 llama3 모델에 맞는 프롬프트 형식으로 바꿔 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

이 스킬은 메시지와 템플릿 이름을 받아 형식이 맞춰진 텍스트를 돌려줍니다. 어떤 모델도 호출하지 않습니다. 선택 라우터는 패턴 몇 개만 가지며, 의도를 고르는 데 쓰도록 만들어졌습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Chat Format

Format prompts for multi-provider LLM inference with context retrieval.

When to use

When you need a prompt string in a local model's chat template (for llama.cpp, Ollama or another local runtime), or a small embedding-based router over a handful of patterns. It does not call a model and it does not format for hosted APIs: Anthropic, OpenAI and Gemini take structured messages, not a template string.

Steps

  1. Format chat — call mcp__plugin_ruflo-core_ruflo__ruvllm_chat_format with messages ([{role, content}]) and template: one of llama3, mistral, chatml, phi, gemma, or a model id to auto-detect. Both fields are required. It returns the formatted string. It needs @ruvector/ruvllm-wasm (npm i -g @ruvector/ruvllm-wasm); without it the call fails with an install hint.
  2. Create a router (optional) — ruvllm_hnsw_create with dimensions (for example 384), maxPatterns, efSearch. The WASM router holds about 11 patterns at most (ruvllm-wasm v2.0.1), so use it for routing between a few named intents, not for document retrieval. For real document search use memory_search or the ruflo-rag-memory plugin.
  3. Add patterns — ruvllm_hnsw_add with routerId, a name, and an embedding whose length equals the router's dimensions (you produce the embedding, for example with embeddings_generate).
  4. Route a query — ruvllm_hnsw_route with routerId, the query embedding, and k (default 3).
  5. Check status — ruvllm_status shows whether the WASM module loaded. Routers live in the MCP server process only; they are gone when it restarts.
자주 묻는 질문

호스팅된 AI API와도 동작하나요?

아니요. 원본에 따르면 호스팅된 API는 템플릿 문자열이 아니라 구조화된 메시지를 받습니다.

라우터는 패턴을 몇 개까지 담나요?

최대 약 11개이므로, 문서를 검색하기보다 몇 가지 의도 사이를 나누는 데 알맞습니다.

무엇을 설치해야 하나요?

작은 WASM 추가 패키지이며, 없으면 설치하라고 이 스킬은 말합니다.

상세 정보

작성자의 원본 설명

Format chat messages in a local model's template (llama3, mistral, chatml, phi, gemma, or a model id) and route queries over a small WASM HNSW pattern index (about 11 patterns). Use when preparing prompts for local runtimes.

repo: ruvnet/ruflo

인기도

GitHub 스타
81k
순위
#1689
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬