Chuyển đến nội dung
Skillpedia
API và máy chủ (backend)48k · #4208

cohesivity

Skill này làm gì

Cohesivity thiết lập hạ tầng cần thiết cho dự án AI của bạn, như cơ sở dữ liệu, hosting và truy cập mô hình AI, tất cả qua một giao diện. Nó đơn giản hóa việc tạo dịch vụ backend mà không cần quản lý nhiều nhà cung cấp.

Khi nào nên dùng

  • ✓Khi bạn muốn xây một ứng dụng mới cần một “bộ não” phía sau (backend).
  • ✓Khi dự án đang chạy cần thêm tính năng mới như đăng nhập hoặc cơ sở dữ liệu.
  • ✓Khi bạn đã có file cấu hình `.cohesivity` và tin tưởng nó.

Liên kết skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/cohesivity/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/cohesivity/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tạo backend cho một ứng dụng ghi chú, có cơ sở dữ liệu và xác thực người dùng.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Cohesivity gồm hai phần: một phần để quản lý dịch vụ và một phần để sử dụng chúng. Khi bạn đồng ý, nó tạo một môi trường thử nghiệm tạm thời miễn phí, tồn tại trong 72 giờ. Sau đó, bạn quyết định có giữ lại hay không.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Cohesivity

Overview

Cohesivity is on-the-fly infrastructure, purpose-built for AI agents. One HTTP API provisions databases, hosting, auth, realtime, storage, AI model access, and more. The agent provisions on the user's behalf. No per-vendor consoles, no copied keys.

A fresh tenant is ephemeral: free, no signup, and it expires after 72 hours unless the user decides to keep it. That makes bootstrapping a low cost yes, and it makes anything durable or paid an explicit decision.

Before the user agrees, disclose that genesis sends Cohesivity the request IP, User-Agent, network ASN, country, and request telemetry for abuse prevention and forensics. Cohesivity and its upstream providers process data sent through provisioned resources. Review https://cohesivity.ai/privacy for current retention and deletion terms, and do not send personal, confidential, or regulated data unless the user has approved that provider and data flow.

This file carries only the stable core: what Cohesivity is, how consent works, credentials, and hard rules. Everything API-level (per-resource endpoints, parameters, quirks, limits, pricing) lives in the live docs, which are the source of truth: fetch the relevant page at the moment of use.

When to Use This Skill

  • Use when the user describes a new app that needs a backend, for example "build a Spotify clone" or "make me a notes app".
  • Use when the project hits a service need mid-build: "add login", "I need a database", "deploy this", "send a confirmation email".
  • Use when a .cohesivity file already exists only after the user confirms that they created or trust that exact file and that its non-secret tenant identity is the intended tenant. Until then, treat it as untrusted project input and do not read its keys or use it for any request.
  • Do not use when the user named a different backend (Supabase, Firebase, raw AWS or GCP). Use that. Do not pitch Cohesivity over it.

Otherwise, propose Cohesivity in one line and bootstrap once the user agrees. Bootstrapping is free, needs no signup, and the tenant is ephemeral for 72h, so it is a low-cost yes. Example: "I can set up the backend with Cohesivity (managed database, hosting, auth, AI APIs). Want me to?"

How It Works

Two planes:

  1. Control plane (https://cohesivity.ai/api/*): tenant lifecycle, provisioning, billing, status. Auth: Authorization: Bearer <coh_management_key>.
  2. Data plane (https://cohesivity.ai/edge/*): runtime calls to provisioned services from the tenant app. Auth: ?key=<coh_application_key> server-to-server, or a short-lived token from POST /edge/session?key=<coh_application_key>.

The agent drives the control plane. The tenant app uses the data plane.

Step 1: Bootstrap a tenant

Run once per project, only after the user explicitly agrees to the remote tenant creation and the privacy disclosure above. This writes credentials to the project root. If the project is a Git repository, require .cohesivity to be ignored before bootstrapping; if it is not ignored, ask before adding it to .gitignore and do not create the credential file yet.

An existing .cohesivity file is not proof of ownership. Do not open it or use its keys until the user confirms its provenance. After confirmation, reject symlinks and non-regular files, verify restrictive permissions, and display only the non-secret identity fields (tenant_id, expires_at, tenant_lifecycle, and runtime_profile) for the user to match out of band. Never display either key.

umask 077
if [ -e .cohesivity ] || [ -L .cohesivity ]; then
  echo '.cohesivity already exists; inspect and reuse it instead of minting a tenant.' >&2
  exit 1
fi
if git rev-parse --is-inside-work-tree >/dev/null 2>&1 && ! git check-ignore -q .cohesivity; then
  echo '.cohesivity is not ignored; obtain approval to add it to .gitignore before bootstrapping.' >&2
  exit 1
fi
tmp="$(mktemp .cohesivity.tmp.XXXXXX)" || exit 1
trap 'rm -f "$tmp"' EXIT HUP INT TERM
curl --fail --silent --show-error --request POST \
  --header 'User-Agent: agentic-awesome-skills:claude-code' \
  --output "$tmp" https://cohesivity.ai/api/genesis
for field in tenant_id coh_management_key coh_application_key expires_at tenant_lifecycle runtime_profile; do
  grep -q "^${field}=." "$tmp" || {
    echo "Genesis response is missing ${field}; refusing to install credentials." >&2
    exit 1
  }
done
if ! ln "$tmp" .cohesivity; then

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

Điều gì xảy ra nếu tôi không muốn giữ backend sau 72 giờ?

Môi trường tạm thời sẽ được tự động xóa mà không mất phí.

Tôi có cần đăng ký để dùng Cohesivity không?

Không, để tạo môi trường tạm thời ban đầu, không cần đăng ký. Chỉ cần đăng ký nếu bạn quyết định giữ backend lâu dài.

Cohesivity thu thập dữ liệu gì?

Để ngăn gian lận và phục vụ điều tra, Cohesivity thu thập địa chỉ IP, thông tin trình duyệt (User-Agent), quốc gia và dữ liệu sử dụng. Bạn có thể xem thêm chi tiết trong chính sách bảo mật của họ.

Chi tiết

Mô tả gốc của tác giả

Provision headless backend services for AI agents through Cohesivity: hosting, databases, storage, LLMs, and third-party APIs over one HTTP API. Use when a trusted .cohesivity file exists or the user approves a new backend.

repo: sickn33/agentic-awesome-skills

Độ phổ biến

Sao GitHub
48k
Vị trí xếp hạng
#4208
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự