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.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
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
.cohesivityfile 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:
- Control plane (
https://cohesivity.ai/api/*): tenant lifecycle, provisioning, billing, status. Auth:Authorization: Bearer <coh_management_key>. - 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 fromPOST /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.
Độ 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
Bình luận
- …
Thêm skill từ kho mã này
00-andruia-consultant
48kGiúp agent của bạn bắt đầu hoặc cải thiện các dự án AI. Phân tích mã, gợi ý công cụ và lập kế hoạch hành động bằng tiếng Tây Ban Nha.
007
48kCho phép agent của bạn thực hiện kiểm toán bảo mật và mô hình hóa mối đe dọa. Hữu ích để bảo vệ dự án khỏi các cuộc tấn công và lỗ hổng.
10-andruia-skill-smith
48kGiúp agent của bạn tạo hoặc cải thiện các công cụ AI. Xác định cách công cụ hoạt động, viết tài liệu và kiểm tra cấu trúc.
20-andruia-niche-intelligence
48kGiúp agent của bạn tạo bản tóm tắt về một ngành cụ thể. Hữu ích để hiểu bối cảnh, quy tắc, cách người dùng tương tác và rủi ro của dự án.
Skill tương tự
api-connector-builder
280kGiúp agent của bạn xây dựng kết nối API mới theo đúng mẫu đã có, dùng khi bạn cần thêm một tích hợp mà không tạo cách làm mới.
api-design
280kGiúp agent của bạn thiết kế REST API theo các thực hành tốt nhất, hữu ích để định nghĩa cách API giao tiếp, hiển thị lỗi và tổ chức dữ liệu.
backend-patterns
280kGiúp agent của bạn với các mẫu kiến trúc phía máy chủ và tối ưu cơ sở dữ liệu, hữu ích khi xây dựng hoặc rà soát code chạy trên máy chủ.