跳到正文
TakoAPI
返回技能列表

ramalama-cli

由 ieaves 提供

Health & Fitness
327下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Run and interact with AI agents.

描述

该技能的功能

ramalama runs AI models locally inside containers using Docker or Podman. It supports multiple model sources including HuggingFace, OCI registries, and direct URLs. Models can be run one-shot, served as an OpenAI-compatible endpoint, or queried with RAG context from local files.

Containerized execution via Docker or Podman gives full network and device isolation, which cloud-hosted inference APIs cannot provide.

何时使用

  • Run inference on sensitive documents without sending data to external APIs
  • Serve a local OpenAI-compatible endpoint for development and testing
  • Build a RAG knowledge bundle from internal docs and query it with a local model
  • Benchmark model quality and performance before integrating into a pipeline
  • Pull and test a specific HuggingFace model variant without a cloud account

示例工作流

输入

User asks: summarize our internal auth docs using a local model

智能体
  1. 1

    Run preflight: ramalama version and verify Docker or Podman is available

  2. 2

    Package local docs into a RAG bundle: ramalama rag ./docs auth-rag

  3. 3

    Run one-shot inference with RAG context: ramalama run --rag auth-rag granite3.3:2b "Summarize the auth requirements"

  4. 4

    Parse the text output and return the summary

输出

A concise summary of the auth requirements drawn from the local documentation

前置要求

  • Docker or Podman installed and running

安装

clawhub install ieaves/ramalama-cli

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接