Logo Raspberrypi Local

Raspberrypi Local

Cộng đồng
Firstp1ck
raspberrypi-local

Use automatically for Raspberry Pi computers, Raspberry Pi OS, Raspberry Pi Imager, raspi-config, config.txt/cmdline.txt, GPIO, HATs/accessories, camera/rpicam/libcamera/Picamera2, SSH/VNC/Connect, bootloader/EEPROM/NVMe/USB boot, Compute Module, Pico/RP2040/RP2350/Pico SDK/MicroPython, and Raspberry Pi documentation questions. Prefer local Raspberry Pi Documentation evidence via raspberrypi_wiki tools before web sources.

Add to TypingMind

Tổng quan

Nhà phát hànhFirstp1ck
Kho mãpi-coding-agent-forge
Tên kỹ năngraspberrypi-local
Sao
93
Bản fork
22
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được Firstp1ck công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Raspberrypi Local trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/Firstp1ck/pi-coding-agent-forge/tree/main/pi-extension-raspberrypi-wiki-local/skills/raspberrypi-local
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Firstp1ck/pi-coding-agent-forge.git /tmp/pi-coding-agent-forge
mkdir -p .claude/skills
cp -r /tmp/pi-coding-agent-forge/pi-extension-raspberrypi-wiki-local/skills/raspberrypi-local .claude/skills/raspberrypi-local
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Raspberrypi Local trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Raspberrypi Local ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Raspberrypi Local với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Raspberry Pi Documentation Local Wiki

Use the local official Raspberry Pi Documentation corpus before web sources. Optimize for source-backed answers with bounded output and local path citations.

Corpus profile

  • Local checkout path: ~/.raspberrypiwiki
  • Indexed source: official raspberrypi/documentation repository, primarily documentation/asciidoc/
  • Parser/format: AsciiDoc
  • Indexed extensions: .adoc, .asciidoc, .asc
  • Setup command: /raspberrypi-wiki-local-setup
  • Smoke test: /raspberrypi_wiki-smoke-test or raspberrypi_wiki_smoke_test({ maxSearchResults: 5 })

The repository contains source files used to build the public Raspberry Pi Documentation site. It also has build/tooling Markdown files; the local wiki intentionally indexes only AsciiDoc documentation files to avoid build-doc noise in support searches.

Confidence target

Aim for 90-95/100 confidence by combining local documentation evidence, exact section citations, read-only local evidence when relevant, and explicit caveats when docs/output are incomplete.

If confidence is below 90/100, improve it by searching a second wording, listing sections, extracting exact sections, checking related pages, checking official online docs for freshness, or asking for missing hardware/OS details.

Required workflow

  1. Start with raspberrypi_wiki_search({ query, limit: 5, includeSnippets: false }).
  2. If the page is large or aggregate-like, run raspberrypi_wiki_sections({ page, maxSections: 40-80 }).
  3. Prefer exact section extraction for final evidence:
    • raspberrypi_wiki_extract({ page, section, maxChars: 4000-8000, maxSections: 2-5 })
  4. Use query extraction only for exploration, then switch to exact headings when available.
  5. Use raspberrypi_wiki_read({ page, maxChars }) only for broad context or when no relevant heading is identifiable.
  6. Use raspberrypi_wiki_related({ page, limit: 5-10 }) when the issue spans linked topics.
  7. Run read-only local diagnostics when system/project evidence is relevant.
  8. Compare documentation guidance with observed local state.
  9. Cite local paths and section names in final answers.
  10. Ask before destructive, persistent, hardware-risk, or user-facing changes.

Search hints

Use specific Raspberry Pi terms and current tool names:

  • SSH/headless: ssh headless setup, raspi-config ssh, imager remote access.
  • Camera: rpicam libcamera picamera2, rpicam options, camera_auto_detect, camera module.
  • Boot/config: config.txt dtoverlay dtparam, cmdline.txt, device tree overlay.
  • GPIO: gpio pinout pinctrl, 40-pin header, raspi-gpio.
  • Storage/boot: nvme boot pi 5, usb boot, bootloader eeprom BOOT_ORDER.
  • Network/remote desktop: wifi networkmanager nmcli, vnc, raspberry pi connect.
  • Pico/microcontrollers: pico sdk blink, rp2040, rp2350, micropython.
  • Accessories/HATs: include the product name, e.g. sense hat, ai camera, m.2 hat+.

Source priority

  1. Local Raspberry Pi Documentation corpus via raspberrypi_wiki_* tools.
  2. Local project/system evidence relevant to the user's current Raspberry Pi or host environment.
  3. Official online Raspberry Pi Documentation/GitHub only when local docs are missing, stale, or insufficient.
  4. Other sources only when necessary and clearly labeled.

Tool usage

  • raspberrypi_wiki_search({ query, limit, includeSnippets }): find candidate pages. Keep limit at 5 unless exploring broadly; snippets default off.
  • raspberrypi_wiki_sections({ page, maxSections }): inspect headings before extracting from large pages.
  • raspberrypi_wiki_extract({ page, section, maxChars, maxSections }): retrieve focused exact sections; best for final answers.
  • raspberrypi_wiki_extract({ page, query, maxChars, maxSections }): retrieve query-relevant sections; best for exploration.
  • raspberrypi_wiki_read({ page, maxChars }): retrieve broad page text; use sparingly.
  • raspberrypi_wiki_related({ page, limit }): discover linked local pages.
  • raspberrypi_wiki_smoke_test({ maxSearchResults }): verify parser/search/extract/read/related behavior after package or corpus updates.

Diagnostics policy

Prefer read-only commands first and only run commands relevant to the user's issue/environment. Useful Raspberry Pi diagnostics include:

bash
uname -a
tr -d '\0' </proc/device-tree/model 2>/dev/null || cat /proc/device-tree/model 2>/dev/null || true
cat /etc/os-release
vcgencmd version 2>/dev/null || true
vcgencmd get_throttled 2>/dev/null || true
command -v raspi-config >/dev/null && raspi-config nonint get_config_var arm_64bit /boot/firmware/config.txt 2>/dev/null || true
grep -RsnE '^(dtoverlay|dtparam|camera_auto_detect|display_auto_detect|arm_64bit|boot_order|program_usb_boot_mode)' /boot/config.txt /boot/firmware/config.txt 2>/dev/null || true
ip -brief addr 2>/dev/null || true
systemctl status ssh --no-pager 2>/dev/null || true
lsblk -f 2>/dev/null || true

For Pico/Pico SDK work, prefer read-only project checks first:

bash
cmake --version 2>/dev/null || true
python3 --version 2>/dev/null || true
printenv PICO_SDK_PATH PICO_TOOLCHAIN_PATH 2>/dev/null || true
find . -maxdepth 3 -name CMakeLists.txt -o -name pico_sdk_import.cmake 2>/dev/null

Safety policy

Ask before mutation, especially:

  • Editing /boot/firmware/config.txt, /boot/config.txt, /boot/firmware/cmdline.txt, EEPROM/bootloader configuration, NetworkManager profiles, or system services.
  • Running rpi-eeprom-update, rpi-update, firmware flashing, SD-card/USB/NVMe imaging, partitioning, formatting, or boot-order changes.
  • Installing/removing packages, enabling remote access, changing passwords/SSH keys, or exposing services to a network.
  • GPIO, HAT, camera, display, or power-supply wiring changes. Tell the user to power down before physical wiring changes when appropriate.

Do not assume non-Raspberry-Pi Linux hosts behave like Raspberry Pi OS. Verify model, OS release, boot path, and relevant commands first.

Token/output discipline

  • Keep search limits small (limit: 5-10) and leave snippets off unless they are needed.
  • Prefer search -> sections -> exact section extract for final answers.
  • Use query extraction only to discover likely sections on large pages.
  • Use maxChars around 4000-8000 and maxSections around 2-5 for focused answers.
  • Use read only when the relevant section cannot be identified.
  • If a tool reports omittedSectionCount or truncated: true, mention it when it affects confidence.

Citation format

Use local source citations like:

txt
Sources:
- ~/.raspberrypiwiki/documentation/asciidoc/computers/remote-access/ssh.adoc — Enable the SSH server
- ~/.raspberrypiwiki/documentation/asciidoc/computers/raspberry-pi/boot-nvme.adoc — NVMe SSD boot

Câu hỏi thường gặp

Kỹ năng AI Raspberrypi Local làm được gì?

Use automatically for Raspberry Pi computers, Raspberry Pi OS, Raspberry Pi Imager, raspi-config, config.txt/cmdline.txt, GPIO, HATs/accessories, camera/rpicam/libcamera/Picamera2, SSH/VNC/Connect, bootloader/EEPROM/NVMe/USB boot, Compute Module, Pico/RP2040/RP2350/Pico SDK/MicroPython, and Raspberry Pi documentation questions. Prefer local Raspberry Pi Documentation evidence via raspberrypi_wiki tools before web sources.

Vì sao nên dùng Raspberrypi Local trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Raspberrypi Local là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Raspberrypi Local trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Firstp1ck/pi-coding-agent-forge/tree/main/pi-extension-raspberrypi-wiki-local/skills/raspberrypi-local. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Raspberrypi Local?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Raspberrypi Local với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Raspberrypi Local với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Raspberrypi Local có miễn phí không?

Có. Kỹ năng này được Firstp1ck phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇