Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计提醒

raspberry-pi树莓派

Agent Skill

raspberry-pi 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,023

周安装

41

GitHub Stars

4

下载量

331
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:raspberry-pi(树莓派)
来源仓库:https://github.com/alphaonedev/openclaw-graph
仓库路径:skills/raspberry-pi
安装命令:
npx skills add https://github.com/alphaonedev/openclaw-graph --skill raspberry-pi
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/alphaonedev/openclaw-graph --skill raspberry-pi

简介

raspberry-pi 用于处理 GitHub 仓库、Issue 和 Pull Request。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕代码变更进行整理。
  • 可结合来源仓库和原始 README 继续核验具体用法,建议确认权限范围。
  • 安装命令:npx skills add https://github.com/alphaonedev/openclaw-graph --skill raspberry-pi
  • 使用前应检查是否会触发联网、命令执行或文件读写操作。

SKILL.md

raspberry-pi

Purpose

This skill enables the AI to interact with Raspberry Pi devices for IoT tasks, including remote management, hardware prototyping, and edge computing operations.

When to Use

Use this skill for scenarios involving hardware setup, such as deploying sensors in a smart home, running lightweight servers for data processing, or testing embedded applications on a compact Linux board.

Key Capabilities

  • Establish SSH connections to execute commands on Raspberry Pi.
  • Configure hardware settings, like GPIO pins, for physical interactions.
  • Manage software installations and updates via apt.
  • Monitor system resources and logs for edge computing tasks.
  • Integrate with Python libraries for automation, e.g., RPi.GPIO for pin control.

Usage Patterns

To accomplish tasks, first authenticate via SSH using environment variables like $RASPI_HOST and $RASPI_SSH_KEY. Then, run commands directly or invoke scripts. For repeated tasks, wrap commands in Python functions. Always check device connectivity before proceeding. For GPIO work, import relevant libraries and set pin modes explicitly.

Common Commands/API

  • Connect via SSH: ssh pi@$RASPI_HOST -i $RASPI_SSH_KEY
  • Access configuration tool: sudo raspi-config (use options like "Boot Options" with flag --expand-rootfs for storage)
  • Control GPIO pins in Python: import RPi.GPIO as GPIO GPIO.setmode(GPIO.BCM) GPIO.setup(17, GPIO.OUT) GPIO.output(17, GPIO.HIGH)
  • Update and install packages: sudo apt update && sudo apt install -y package-name (e.g., apache2 for a web server)
  • Check system status: vcgencmd measure_temp to get CPU temperature, or top for resource usage.
  • Config format for /boot/config.txt: Add lines like dtparam=i2c_arm=on to enable I2C, then reboot.

Integration Notes

When integrating with other systems, set auth variables in your environment, e.g., export RASPI_HOST=raspberrypi.local and export RASPI_SSH_KEY=/path/to/private.key. For API-like interactions, use SSH wrappers in scripts. Ensure network compatibility; if behind a firewall, forward ports like 22 for SSH. For IoT ecosystems, pair with MQTT brokers by installing mosquitto and configuring via /etc/mosquitto/mosquitto.conf with lines like listener 1883.

Error Handling

If SSH fails, verify connectivity with ping $RASPI_HOST and check key permissions (e.g., chmod 600 $RASPI_SSH_KEY). For GPIO errors, ensure RPi.GPIO is installed via pip install RPi.GPIO and handle exceptions like GPIO.error in code:

try:
    GPIO.setup(17, GPIO.OUT)
except RuntimeError as e:
    print("Error: " + str(e) + " - Check user permissions")

For apt issues, use apt --fix-broken install to resolve dependencies. Always log errors with timestamps, e.g., via echo "$(date): Error message" >> error.log.

Usage Examples

  1. Set up and blink an LED on GPIO pin 17: First, SSH in with ssh pi@$RASPI_HOST -i $RASPI_SSH_KEY, then create a script file with nano blink.py and add: import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BCM) GPIO.setup(17, GPIO.OUT) for _ in range(5): GPIO.output(17, True) time.sleep(1) GPIO.output(17, False) time.sleep(1) Run it with python blink.py to toggle the LED.
  2. Deploy a basic web server for IoT monitoring: SSH into the device, update packages with sudo apt update, install Apache via sudo apt install -y apache2, then edit the default page at /var/www/html/index.html by adding content like <h1>IoT Status: OK</h1>. Access it via http://$RASPI_HOST in a browser, and monitor logs with tail -f /var/log/apache2/access.log.

Graph Relationships

  • Related to cluster: iot
  • Connected skills: sensors (for GPIO integration), actuators (for hardware control), edge-computing (for resource monitoring)

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

32.28%
按下载量换算107

Claude

32.3%
按下载量换算107

Cursor

19.27%
按下载量换算64

Gemini CLI

10.3%
按下载量换算34

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills