AL

arnejanning/local-skills-agent

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

22 stars 质量 44 趋势 10

运行在本地 Ollama 上的自我扩展 AI 代理系统——自主创建自身能力

概览

是一个由 Ollama 驱动的代理型人工智能系统,能够自主创建和扩展自身能力。它是作为 Claude Skills 的本地优先重实现构建,完全运行在你的硬件上,没有外部 API 依赖。 这是skill_creator元技能,使智能体能够从自然语言描述中创造新技能。智能体实际上编写了自我扩展的代码。 - - 可以永远在你的硬件上运行 - - 没有任何东西能离开你的机器 - - 开源,支持任何 Ollama 型号 - - 无需网络连接即可使用 技能会自动相互发现并调用,以完成复杂的工作流程: - - 下载 - - 安装 - (推荐)或 pip 你现在拥有了一个本地运行的自我扩展AI代理。 本质上,它是一个迭代调用的LLM,包含:- - 维护完整的对话历史 - - 文件I/O、bash执行、目录操作 - - LLM可以发现并执行的可重用指令集 在 。

概述(AI 翻译)

一个完全在本地基础设施上运行、零API成本的自我扩展AI代理系统

本地技能代理是一个由Ollama驱动的智能人工智能系统,能够自主创建和扩展自身能力。作为Claude Skills的本地优先重实现,完全运行在你的硬件上,没有外部API依赖。

✨ 这有什么特别

🎯 自我延伸建筑

皇冠上的明珠是skill_creator元技能,使智能体能够从自然语言描述中创造新技能。智能体实际上编写了自我扩展的代码。

🔒 100%本地且私人

  • 零API成本 - 在你的硬件上永远运行
  • 完全的数据隐私 - 你的机器没有任何信息流出
  • 无厂商锁定 - 开源,适用于任何 Ollama 型号
  • 离线功能 - 无需互联网连接即可使用

🧩 可组合技能系统

技能会自动相互发现并调用,以完成复杂的工作流程:


🚀 快速启动

先决条件

  • Python 3.11+ - 下载
  • Ollama - 安装
  • uv(推荐)或 PIP

安装(2分钟)

你的第一次互动

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Local Skills Agent

A self-extending AI agent system that runs entirely on local infrastructure with zero API costs

Local Skills Agent is an agentic AI system powered by Ollama that can autonomously create and extend its own capabilities. Built as a local-first reimplementation of Claude Skills, it runs entirely on your hardware with no external API dependencies.

✨ What Makes This Special

🎯 Self-Extending Architecture

The crown jewel is the skill_creator meta-skill that enables the agent to create new skills from natural language descriptions. The agent literally writes code that extends itself.

# Ask the agent to create a new capability
$ skills --message "Create a skill that generates git commit messages"

# The agent creates .skills/git_commit_generator.md
# Now use it immediately - no restart needed
$ skills --message "Generate a commit message for my staged changes"

🔒 100% Local & Private

  • Zero API costs - runs on your hardware forever
  • Complete data privacy - nothing leaves your machine
  • No vendor lock-in - open source, works with any Ollama model
  • Offline capable - works without internet connection

🧩 Composable Skills System

Skills automatically discover and invoke each other to complete complex workflows:

# One request triggers multiple skills working together
$ skills --message "Analyze demo_code.py and generate tests for it"

# Agent automatically:
# 1. Uses code_quality_analyzer (reads industry benchmarks)
# 2. Finds code quality issues
# 3. Uses test_generator
# 4. Creates comprehensive test suite

🚀 Quick Start

Prerequisites

Installation (2 minutes)

# 1. Clone the repository
git clone https://github.com/ArneJanning/local-skills-agent.git
cd local-skills-agent

# 2. Start Ollama (in a separate terminal)
ollama serve

# 3. Pull recommended model
ollama pull gpt-oss:20b

# 4. Install the package
uv pip install -e .
# or: pip install -e .

# 5. Run it!
skills

Your First Interaction

$ skills

You: What can you do?
Agent: [Lists 8 available skills including skill_creator]

You: Create a skill that checks if Python imports are properly sorted
Agent: [Creates .skills/import_checker.md]

You: Check the imports in my main.py file
Agent: [Uses the newly created skill immediately]

That’s it! You now have a self-extending AI agent running locally.


📚 Table of Contents

在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add arnejanning/local-skills-agent
新手?先看 mcpskill.org 教程 →