skills/konecty-meta-document/SKILL.md
Manage Konecty document metadata: show document definitions, list fields, add/remove/update fields, manage document events (queue/webhook). Use when the user wants to create or modify a document schema, add fields, manage field properties, or configure document-level events for queue/webhook integration. Requires admin credentials.
npx skillsauth add konecty/skills konecty-meta-documentInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Manage document-type metadata definitions (fields, labels, events, indexes).
Requires admin credentials from konecty-session. User must have admin: true.
| Endpoint | Method | Description |
|----------|--------|-------------|
| /api/admin/meta/:document/document/:document | GET | Get full document meta |
| /api/admin/meta/:document/document/:document | PUT | Upsert document meta |
python3 scripts/meta_document.py show Contact
python3 scripts/meta_document.py fields Contact
python3 scripts/meta_document.py fields Contact --format json
python3 scripts/meta_document.py add-field Contact myNewField \
--type text --label-en "My Field" --label-pt "Meu Campo" --required
python3 scripts/meta_document.py remove-field Contact myNewField
python3 scripts/meta_document.py update-field Contact status --set isRequired=true
python3 scripts/meta_document.py update-field Contact status --set 'label.en=Status Name'
python3 scripts/meta_document.py upsert Contact --file document.json
python3 scripts/meta_document.py events Contact
fields is an object-map { "fieldName": { ... } }, not an arraySee scripts/meta_document.py. Stdlib only.
data-ai
Replace with description of the skill and when the agent should use it.
tools
Upload, list, and delete files in Konecty document fields via the file API. Use this skill whenever the user wants to attach a file to a Konecty record, upload a photo/image to a contact or product, add a PDF or document to an opportunity, send a curriculum to a candidate, manage gallery images for a development or promotion, or attach any binary file to any Konecty module field. Also triggers when the user says 'upload', 'anexar', 'enviar arquivo', 'adicionar imagem', 'attach file', or refers to file-type fields in any document. Automatically reads field constraints (accepted extensions, max size, max file count) from metadata before uploading to catch errors early. Requires an active konecty-session (KONECTY_URL and KONECTY_TOKEN in ~/.konecty/.env or ~/.konecty/credentials).
documentation
Updates records in any Konecty module via PUT /rest/data/:document. Enforces the mandatory pre-update fetch workflow: always fetch the current record first to obtain its _updatedAt (optimistic locking guard), then PUT with ids=[{_id, _updatedAt}] and data={changed fields}. Use when the user wants to update, edit, change, or modify any record in Konecty. Requires an active konecty-session. Use konecty-modules to discover field names and types before updating.
development
Opens a Konecty session via OTP login (request OTP, then verify OTP) and persists the access token in .env or ~/.konecty/credentials for use by other skills. Use when the user wants to log in to Konecty with OTP, store credentials, set up KONECTY_TOKEN, or establish a session so other Konecty skills can call the API. Only works when the namespace has OTP enabled (email or WhatsApp).