360 Secure SkillHub
360 安全技能中心

Clarity Ollama

通过本地 Ollama 与 Qwen 0.5B 识别用户意图,把冗长输入整理为包含意图、语言、关注点和目标的精准指令。需要预先安装并运行 Ollama,且已下载 Qwen 0.5B 模型;处理在本地完成,不依赖云端模型。

yjin94606-art
yjin94606-art
热度 25.24
最近更新 2026-03-26 17:21:51
分类:效率依赖:代码执行 / 内部调用大模型应用场景:摘要总结 / 模板 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add clarity-ollama
Metadata
name
clarity-ollama
description
Local AI-powered precision mode using Ollama + Qwen 0.5B model. Converts verbose input into structured instructions with local LLM. Activates when user says "开启精准模式" or "enable local mode".
version
1.0.0
author
Boss

Clarity Ollama - Local Precision Mode

Overview

Uses local Ollama + Qwen 0.5B model for intelligent intent recognition and precision transformation.

Requirements

  • Ollama installed and running
  • Qwen 0.5B model downloaded

Activation

Trigger: "开启精准模式" / "enable local mode" / "本地精准"

Deactivate: "关闭精准模式" / "disable local mode"

Features

  • 🤖 Local LLM - No cloud, complete privacy
  • ⚡ Fast - Local inference, millisecond response
  • 🔒 Private - All processing on your machine
  • 🎯 Smart - Qwen 0.5B optimized for Chinese

Setup

# Install Ollama
brew install ollama

# Download model (394MB)
ollama pull qwen:0.5b

# Start Ollama service
brew services start ollama

Output Example

Input: Python的for循环为什么运行慢

Output:

## 🎯 精准化指令 (Ollama AI)

**📌 意图:** performance
**💻 语言:** Python
**🎯 关注点:** 循环结构
**🎯 目标:** 分析for循环运行慢的原因

**💡 为了更精准地帮助你,请提供:**
- 当前性能指标
- 目标性能

Technical Details

Item Detail
Model Qwen 0.5B
Size 394 MB
Context 2048 tokens
Platform macOS/Linux

Troubleshooting

# Check if Ollama is running
ps aux | grep ollama

# Start Ollama manually
ollama serve

# Test model
ollama run qwen:0.5b "你好"