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가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
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
- Format chat — call
mcp__plugin_ruflo-core_ruflo__ruvllm_chat_formatwithmessages([{role, content}]) andtemplate: one ofllama3,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. - Create a router (optional) —
ruvllm_hnsw_createwithdimensions(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 usememory_searchor theruflo-rag-memoryplugin. - Add patterns —
ruvllm_hnsw_addwithrouterId, aname, and anembeddingwhose length equals the router's dimensions (you produce the embedding, for example withembeddings_generate). - Route a query —
ruvllm_hnsw_routewithrouterId, the queryembedding, andk(default 3). - Check status —
ruvllm_statusshows 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.
댓글
- …
이 저장소의 다른 스킬
agent-adaptive-coordinator
81k작업량이 바뀔 때 에이전트 무리를 나누고 재배치해, 작업에 맞는 배치를 고르도록 에이전트를 돕습니다.
agent-agent
81k큰 목표를 순서가 있는 행동 계획으로 나누고, 조건이 바뀌면 다시 계획하도록 에이전트를 가르칩니다.
agent-agentic-payments
81kAI 쇼핑을 위한 지출 위임장을 관리합니다. 지출 상한, 시간 창, 판매자 규칙, 서명된 승인을 포함합니다.
agent-analyze-code-quality
81k에이전트가 파일을 바꾸지 않고, 코드 품질 문제와 코드 냄새, 기술 부채, 리팩터링 아이디어를 찾아 검토하도록 돕습니다.
비슷한 스킬
writing-skills
311k에이전트를 위한 새 스킬을 작성하고, 각 스킬이 실제로 에이전트의 행동을 바꾸는지 사용하기 전에 테스트하도록 가르칩니다.
writing-for-agents
310k스킬, AGENTS.md, CLAUDE.md 등 AI 에이전트가 읽는 문서를 명확하게 쓰는 방법을 알려 주어 에이전트가 예측 가능하게 행동하도록 돕습니다.
bengali-nlp
280k에이전트가 벵골어 텍스트를 처리하도록 돕습니다. 언어를 이해하고 다루며, 텍스트를 정규화하고 고유한 특징을 처리합니다.