Logo Connect Tool

Connect Tool

Cộng đồng
ericrisco
connect-tool

Use when the user names a specific tool to connect to the agent (an ERP, accounting or desktop program, CRM, WhatsApp, a spreadsheet, a database): research its real docs, choose the safest route, build `01-TOOLS/<TOOL>/` with a test that proves it, and guide the user. NOT a full typed API client (that is `api-connector-builder`), NOT a whole-workspace tooling scan (that is `harness`).

Add to TypingMind

Tổng quan

Nhà phát hànhericrisco
Kho mãrsc-harness
Tên kỹ năngconnect-tool
Sao
239
Bản fork
24
Tệp đi kèm
1
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ộ.

  • 1 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được ericrisco 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 Connect Tool 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/ericrisco/rsc-harness/tree/main/skills/connect-tool
  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/ericrisco/rsc-harness.git /tmp/rsc-harness
mkdir -p .claude/skills
cp -r /tmp/rsc-harness/skills/connect-tool .claude/skills/connect-tool
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 Connect Tool 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 Connect Tool 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 Connect Tool 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.

Connect a tool: research it, pick the safe route, prove it works

The user said "connect my Holded", "can the agent read our Sage?", "hook up WhatsApp". This skill turns that sentence into a working, documented connection in 01-TOOLS/<TOOL>/, for any tool: the ones with a modern API, and the program installed on an office PC fifteen years ago.

rsc ships no ready-made connections. Every project builds only the ones its user asks for, so the method matters more than any list of vendors: find the truth, take the least dangerous route, prove it, leave it written down.

Before anything: what does the user want to do?

Ask only what the docs cannot answer, in plain words (technical_level in 02-DOCS/wiki/harness/user-profile.md sets the register):

  • Which product, exactly? Name, edition, version. "Sage" is five different products.
  • Where does it run? In the cloud (a website they log into) or installed on a computer or server in the office.
  • Read or write? Reports and questions need reading. Entering invoices needs writing, and writing is a separate, explicit decision (below).

1. Research: the docs decide, never memory

Look it up every time, even for a tool you "know": plans, endpoints and MCP servers change monthly. In this order, stopping when the route is clear:

  1. The vendor's own developer docs: search <product> API, <product> developers, <product> MCP. Prefer the vendor domain over blog posts.
  2. The official MCP registry (registry.modelcontextprotocol.io) and the vendor's docs for an official MCP server. An official, read-only MCP is often the fastest safe route.
  3. Library docs through Context7 when the route is an SDK.
  4. Export and import features in the product's user manual: scheduled CSV/Excel exports, FTP drops, official import file formats.
  5. Where the data lives for installed software: the vendor's installation guide, the database engine it installs (often SQL Server Express, sometimes Access, Firebird or MySQL).

Write every source into the tool's README.md with its URL and the date you read it. If you find nothing reliable, say so and stop at a question for the vendor; an invented endpoint costs the user a week.

2. Choose the route: the least dangerous one that does the job

RouteUse whenWatch for
Official MCP serverThe vendor publishes oneStart it read-only if it offers the mode
Official APIDocumented REST/GraphQL with scoped tokensRequest read scopes only; full client work goes to api-connector-builder
Built-in integration (OAuth app, Zapier/Make/n8n connector)No API for you, but a supported integration existsThe integration's permissions, not yours, are the ceiling
Scheduled exportThe program can export CSV/Excel or drop files to a folderFreshness is the export schedule, say so
Read-only copy of the databaseInstalled software with no API and no exportSee Desktop programs below; never the live database
Screen automation (RPA)Nothing else existsLast resort: fragile and breaks on every update

Connect, or migrate? If every route above is poor and the program is near end-of-life, or new legal requirements (Spanish e-invoicing, Veri*factu) will force a change anyway, say so plainly and hand the decision to automation-strategy. Check the current dates at the tax authority's site: they have moved before.

3. Least privilege, always

  • Read first. Every connection starts read-only, even when the goal is writing.
  • Writing is explicit. Only when the user asks for it, only through the vendor's API or its official import format, and only for the objects named.
  • Never write directly into a desktop program's database. It bypasses the program's own rules, voids support contracts, and can corrupt accounting. Generate the program's official import file instead, and a person imports it.
  • Secrets stay in .env (gitignored, chmod 600). Never in the repo, never in 02-DOCS.

4. Build it in 01-TOOLS/<TOOL>/

Copy 01-TOOLS/_TEMPLATE/ to 01-TOOLS/<TOOL>/ (uppercase id, e.g. HOLDED, SAGE_50) and fill every file: .env.example with the real variable names, CREDENTIALS.md with where each one is generated and how to rotate it, README.md with the route, the sources and their dates, and the permissions granted. Add a row to 01-TOOLS/README.md.

test_connection is the proof, not a formality. It makes one cheap read and prints OK — …. When the connection is meant to be read-only, it must also prove that writing fails, because a read-only promise nobody tested is not one:

bash
# PostgreSQL: a write must fail with a PERMISSION error. Any other error (wrong host, bad password)
# proves nothing, so it fails the test too instead of passing as "refused".
out=$(psql "$DATABASE_URL" -v ON_ERROR_STOP=1 -c "BEGIN; CREATE TABLE rsc_write_probe(i int); ROLLBACK;" 2>&1) \
  && { echo "FAIL — this user can write" >&2; exit 1; }
grep -qiE "permission denied|read-only transaction" <<<"$out" \
  && echo "OK — writes refused" || { echo "FAIL — unexpected error: $out" >&2; exit 1; }
bash
# SQL Server: insert into one of the views you exposed; only error 229 (permission denied) passes.
out=$(sqlcmd -S "$MSSQL_HOST" -U "$MSSQL_USER" -P "$MSSQL_PASSWORD" -d "$MSSQL_DB" -b \
  -Q "BEGIN TRAN; INSERT INTO rsc_views.customers DEFAULT VALUES; ROLLBACK;" 2>&1) \
  && { echo "FAIL — this user can write" >&2; exit 1; }
grep -q "Msg 229" <<<"$out" && echo "OK — writes refused" || { echo "FAIL — unexpected error: $out" >&2; exit 1; }

For an API, prove it through the token itself: list its scopes from the vendor's token endpoint or dashboard and fail when a write scope is present. Never fire a real write to "see what happens".

Desktop programs and old ERPs

Most small-business software was never meant to be connected. The safe pattern:

  1. Find the data. The vendor's install guide, the Windows ODBC data sources, or the SQL Server instance the program installed (often .\SQLEXPRESS). Access files are .mdb/.accdb.

  2. Work on a copy, never the live database. A nightly copy, off business hours. SQL Server Express has no Agent: schedule sqlcmd with a BACKUP DATABASE from the Windows Task Scheduler and restore it where the agent reads. Access: copy the file, then convert or read it with mdbtools (mdb-tables, mdb-export).

  3. A dedicated reader. A login that can only SELECT, ideally only on a schema of views that expose what is needed:

    sql
    CREATE LOGIN ia_reader WITH PASSWORD = '<from .env>';
    CREATE USER ia_reader FOR LOGIN ia_reader;
    GRANT SELECT ON SCHEMA::rsc_views TO ia_reader;
    ALTER ROLE db_denydatawriter ADD MEMBER ia_reader;
  4. Reach it privately. Same network, or a private mesh (the TAILSCALE tool). Never open the database port to the internet.

  5. Check the support terms. Many vendors restrict direct database access. If they do, use their export or their API instead.

5. Guide the user, in their words

Say what you found, which route you chose and why, and what happens next, in short sentences.

6. Leave it written down

Record the connection in 02-DOCS following the harness wiki protocol: what is connected, the route, the permissions, who owns the credentials, and the date. The next session, or a colleague, reads it instead of starting over.

Anti-patterns

If you are about to…Do instead
Write the endpoint from memoryRead the vendor docs now and cite them with a date
Connect with an admin account "to get started"Create the read-only user first; it costs ten minutes
Write into the program's database because it is quickerGenerate its official import file
Point the agent at the live databaseRead a nightly copy
Call the connection done because it authenticatesRun the test; for read-only, watch the write fail
Promise the vendor has an API or MCPSay what you found, with links, or that you found nothing
Build the whole typed client hereHand it to api-connector-builder once the route is chosen

See also

  • ../harness/SKILL.md: owns 01-TOOLS/ and 02-DOCS/ as a whole.
  • ../api-connector-builder/SKILL.md: auth, pagination and retries once an API is the route.
  • ../automation-strategy/SKILL.md: whether to connect, migrate or automate at all.
  • ../automation-flows/SKILL.md: chaining the connected tool into a workflow.

Orientación (siempre)

Habla con la voz de orient: frases cortas, una idea por frase, y cada respuesta se entiende sola. Registro técnico o con analogías según technical_level en 02-DOCS/wiki/harness/user-profile.md. Cierra cada turno con el bloque-brújula (📍 dónde estás · ➡️ siguiente, terminando en pregunta; ✅ y 🧭 cuando hay algo hecho o decidido). Nunca termines en seco. Protocolo completo: skill orient → skills/orient/references/orientation-contract.md. (Defiere a suggest el "¿instalo la skill que falta?".)

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

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

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

Use when the user names a specific tool to connect to the agent (an ERP, accounting or desktop program, CRM, WhatsApp, a spreadsheet, a database): research its real docs, choose the safest route, build `01-TOOLS/<TOOL>/` with a test that proves it, and guide the user. NOT a full typed API client (that is `api-connector-builder`), NOT a whole-workspace tooling scan (that is `harness`).

Vì sao nên dùng Connect Tool 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. Connect Tool 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 Connect Tool trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/ericrisco/rsc-harness/tree/main/skills/connect-tool. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà 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 Connect Tool?

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 Connect Tool 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 Connect Tool 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 Connect Tool có miễn phí không?

Có. Kỹ năng này được ericrisco 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 👇