Sync files to Scriptr.io platform. Use when the user wants to deploy, sync, or upload files to their Scriptr.io instance.
Deploys files to Scriptr.io platform by syncing local files to your instance.
/plugin marketplace add legatoloco/ntelio-claude/plugin install legatoloco-ntelio-claude@legatoloco/ntelio-claudeThis skill syncs local files to Scriptr.io platform for deployment.
/sync path/to/file.js
/sync openapi/handlers/v1/orders/post
/sync setup/schema/order.xml
/sync client/pages/*.js
Parse the user's request to determine:
*.js, handlers/**/*)Read credentials from scriptrExtensionConfig.json in project root:
{
"instanceUrl": "your-instance.scriptrapps.io",
"accessToken": "your-access-token"
}
If credentials file not found, prompt user to create it.
For each file path:
.scriptrIgnore patterns (skip if matched)For each valid file, call the MCP sync tool:
mcp__scriptr__sync_file({
file_path: "/absolute/path/to/file",
remote_path: "relative/path/on/scriptr",
instance_url: "instance.scriptrapps.io",
access_token: "token"
})
Display sync results:
| Local Path | Remote Path |
|---|---|
client/pages/Store.js | client/pages/Store.js |
openapi/handlers/v1/orders/post | openapi/handlers/v1/orders/post |
setup/schema/order.xml | setup/schema/order.xml |
ntelioMiddleware/server/handlers/v1/waba/list/post | ntelioMiddleware/server/handlers/v1/waba/list/post |
Files sync to their exact relative path from project root.
Respect .scriptrIgnore file (gitignore syntax):
Default ignores:
node_modules/.git/.DS_Store*.logscriptrExtensionConfig.json.claude/Error: scriptrExtensionConfig.json not found.
Create this file in your project root:
{
"instanceUrl": "your-instance.scriptrapps.io",
"accessToken": "your-access-token"
}
Error: File not found: path/to/missing/file.js
Error syncing path/to/file.js: [error message from Scriptr.io]
User: /sync openapi/handlers/v1/orders/post
Assistant: Syncing file to Scriptr.io...
✓ Synced: openapi/handlers/v1/orders/post → openapi/handlers/v1/orders/post
User: /sync openapi/specs/v1/orders.json openapi/handlers/v1/orders/post openapi/handlers/v1/orders/get
Assistant: Syncing 3 files to Scriptr.io...
✓ openapi/specs/v1/orders.json
✓ openapi/handlers/v1/orders/post
✓ openapi/handlers/v1/orders/get
All 3 files synced successfully.
User: /sync openapi/handlers/v1/orders/*
Assistant: Found 4 files matching pattern...
✓ openapi/handlers/v1/orders/get
✓ openapi/handlers/v1/orders/post
✓ openapi/handlers/v1/orders/put
✓ openapi/handlers/v1/orders/delete
All 4 files synced successfully.
After syncing, suggest testing:
Files synced. To test the endpoint:
curl -X POST "https://instance.scriptrapps.io/openapi/handlers/v1/orders?debug_mode=true" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'
/test-api - Test synced endpoints/create-api - Create new API endpoints (then sync)