[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M714PHJQBQF74R4Z84QSZM2Q":3,"skill-same:01M714PHJQBQF74R4Z84QSZM2Q":69},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":23,"publishedAt":43,"linkOnly":44,"markdownContent":45,"markdownBody":46,"frontMatter":47,"refName":49,"commitSha":50,"skillDirectory":51,"forksCount":14,"repositoryHtmlUrl":52,"repositoryHomepageUrl":6,"ownerHtmlUrl":53,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":54,"install":55,"resources":68},"01M714PHJQBQF74R4Z84QSZM2Q","square-automation",null,"Automate Square tasks via Rube MCP (Composio): payments, orders, invoices, locations. Always search tools first for current schemas.","sapsapshen\u002Fai-memory-router","sapsapshen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F20347959?v=4","01M6XDQEF1DP50DKF37H81J3J5","shenmian","01M6XDQEJPE41Y3DT2763X8ZJN",0,"MIT","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcopilot\u002Fsquare-automation\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42],"automation","square","square automation","automate","Tools","composio","orders","search tools","2026","via","first","tasks","unknown","MCP","payments","search","for","invoices","community","2026-11-10 10:12:30",false,"---\nname: square-automation\ndescription: \"Automate Square tasks via Rube MCP (Composio): payments, orders, invoices, locations. Always search tools first for current schemas.\"\nrisk: unknown\nsource: community\ndate_added: \"2026-02-27\"\n---\n\n# Square Automation via Rube MCP\n\nAutomate Square payment processing, order management, and invoicing through Composio's Square toolkit via Rube MCP.\n\n## Prerequisites\n\n- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)\n- Active Square connection via `RUBE_MANAGE_CONNECTIONS` with toolkit `square`\n- Always call `RUBE_SEARCH_TOOLS` first to get current tool schemas\n\n## Setup\n\n**Get Rube MCP**: Add `https:\u002F\u002Frube.app\u002Fmcp` as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.\n\n\n1. Verify Rube MCP is available by confirming `RUBE_SEARCH_TOOLS` responds\n2. Call `RUBE_MANAGE_CONNECTIONS` with toolkit `square`\n3. If connection is not ACTIVE, follow the returned auth link to complete Square OAuth\n4. Confirm connection status shows ACTIVE before running any workflows\n\n## Core Workflows\n\n### 1. List and Monitor Payments\n\n**When to use**: User wants to view payment history or check payment status\n\n**Tool sequence**:\n1. `SQUARE_LIST_PAYMENTS` - Retrieve payments with optional filters [Required]\n2. `SQUARE_CANCEL_PAYMENT` - Cancel a pending payment if needed [Optional]\n\n**Key parameters**:\n- `begin_time` \u002F `end_time`: RFC 3339 timestamps for date range filtering\n- `sort_order`: 'ASC' or 'DESC' for chronological ordering\n- `cursor`: Pagination cursor from previous response\n- `location_id`: Filter payments by specific location\n\n**Pitfalls**:\n- Timestamps must be RFC 3339 format (e.g., '2024-01-01T00:00:00Z')\n- Pagination required for large result sets; follow `cursor` until absent\n- Only pending payments can be cancelled; completed payments require refunds\n- `SQUARE_CANCEL_PAYMENT` requires exact `payment_id` from list results\n\n### 2. Search and Manage Orders\n\n**When to use**: User wants to find orders by criteria or update order details\n\n**Tool sequence**:\n1. `SQUARE_LIST_LOCATIONS` - Get location IDs for filtering [Prerequisite]\n2. `SQUARE_SEARCH_ORDERS` - Search orders with filters [Required]\n3. `SQUARE_RETRIEVE_ORDER` - Get full details of a specific order [Optional]\n4. `SQUARE_UPDATE_ORDER` - Modify order state or details [Optional]\n\n**Key parameters**:\n- `location_ids`: Array of location IDs to search within (required for search)\n- `query`: Search filter object with date ranges, states, fulfillment types\n- `order_id`: Specific order ID for retrieve\u002Fupdate operations\n- `cursor`: Pagination cursor for search results\n\n**Pitfalls**:\n- `location_ids` is required for SEARCH_ORDERS; get IDs from LIST_LOCATIONS first\n- Order states include: OPEN, COMPLETED, CANCELED, DRAFT\n- UPDATE_ORDER requires the current `version` field to prevent conflicts\n- Search results are paginated; follow `cursor` until absent\n\n### 3. Manage Locations\n\n**When to use**: User wants to view business locations or get location details\n\n**Tool sequence**:\n1. `SQUARE_LIST_LOCATIONS` - List all business locations [Required]\n\n**Key parameters**:\n- No required parameters; returns all accessible locations\n- Response includes `id`, `name`, `address`, `status`, `timezone`\n\n**Pitfalls**:\n- Location IDs are required for most other Square operations (orders, payments)\n- Always cache location IDs after first retrieval to avoid redundant calls\n- Inactive locations may still appear in results; check `status` field\n\n### 4. Invoice Management\n\n**When to use**: User wants to list, view, or cancel invoices\n\n**Tool sequence**:\n1. `SQUARE_LIST_LOCATIONS` - Get location ID for filtering [Prerequisite]\n2. `SQUARE_LIST_INVOICES` - List invoices for a location [Required]\n3. `SQUARE_GET_INVOICE` - Get detailed invoice information [Optional]\n4. `SQUARE_CANCEL_INVOICE` - Cancel a scheduled or unpaid invoice [Optional]\n\n**Key parameters**:\n- `location_id`: Required for listing invoices\n- `invoice_id`: Required for get\u002Fcancel operations\n- `cursor`: Pagination cursor for list results\n- `limit`: Number of results per page\n\n**Pitfalls**:\n- `location_id` is required for LIST_INVOICES; resolve via LIST_LOCATIONS first\n- Only SCHEDULED, UNPAID, or PARTIALLY_PAID invoices can be cancelled\n- CANCEL_INVOICE requires the invoice `version` to prevent race conditions\n- Cancelled invoices cannot be uncancelled\n\n## Common Patterns\n\n### ID Resolution\n\n**Location name -> Location ID**:\n```\n1. Call SQUARE_LIST_LOCATIONS\n2. Find location by name in response\n3. Extract id field (e.g., 'L1234ABCD')\n```\n\n**Order lookup**:\n```\n1. Call SQUARE_SEARCH_ORDERS with location_ids and query filters\n2. Extract order_id from results\n3. Use order_id for RETRIEVE_ORDER or UPDATE_ORDER\n```\n\n### Pagination\n\n- Check response for `cursor` field\n- Pass cursor value in next request's `cursor` parameter\n- Continue until `cursor` is absent or empty\n- Use `limit` to control page size\n\n### Date Range Filtering\n\n- Use RFC 3339 format: `2024-01-01T00:00:00Z`\n- For payments: `begin_time` and `end_time` parameters\n- For orders: Use query filter with date_time_filter\n- All timestamps are in UTC\n\n## Known Pitfalls\n\n**ID Formats**:\n- Location IDs are alphanumeric strings (e.g., 'L1234ABCD')\n- Payment IDs and Order IDs are longer alphanumeric strings\n- Always resolve location names to IDs before other operations\n\n**Versioning**:\n- UPDATE_ORDER and CANCEL_INVOICE require current `version` field\n- Fetch the resource first to get its current version\n- Version mismatch returns a 409 Conflict error\n\n**Rate Limits**:\n- Square API has per-endpoint rate limits\n- Implement backoff for bulk operations\n- Pagination should include brief delays for large datasets\n\n**Response Parsing**:\n- Responses may nest data under `data` key\n- Money amounts are in smallest currency unit (cents for USD)\n- Parse defensively with fallbacks for optional fields\n\n## Quick Reference\n\n| Task | Tool Slug | Key Params |\n|------|-----------|------------|\n| List payments | SQUARE_LIST_PAYMENTS | begin_time, end_time, location_id, cursor |\n| Cancel payment | SQUARE_CANCEL_PAYMENT | payment_id |\n| Search orders | SQUARE_SEARCH_ORDERS | location_ids, query, cursor |\n| Get order | SQUARE_RETRIEVE_ORDER | order_id |\n| Update order | SQUARE_UPDATE_ORDER | order_id, version |\n| List locations | SQUARE_LIST_LOCATIONS | (none) |\n| List invoices | SQUARE_LIST_INVOICES | location_id, cursor |\n| Get invoice | SQUARE_GET_INVOICE | invoice_id |\n| Cancel invoice | SQUARE_CANCEL_INVOICE | invoice_id, version |\n\n## When to Use\nThis skill is applicable to execute the workflow or actions described in the overview.\n","# Square Automation via Rube MCP\n\nAutomate Square payment processing, order management, and invoicing through Composio's Square toolkit via Rube MCP.\n\n## Prerequisites\n\n- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)\n- Active Square connection via `RUBE_MANAGE_CONNECTIONS` with toolkit `square`\n- Always call `RUBE_SEARCH_TOOLS` first to get current tool schemas\n\n## Setup\n\n**Get Rube MCP**: Add `https:\u002F\u002Frube.app\u002Fmcp` as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.\n\n\n1. Verify Rube MCP is available by confirming `RUBE_SEARCH_TOOLS` responds\n2. Call `RUBE_MANAGE_CONNECTIONS` with toolkit `square`\n3. If connection is not ACTIVE, follow the returned auth link to complete Square OAuth\n4. Confirm connection status shows ACTIVE before running any workflows\n\n## Core Workflows\n\n### 1. List and Monitor Payments\n\n**When to use**: User wants to view payment history or check payment status\n\n**Tool sequence**:\n1. `SQUARE_LIST_PAYMENTS` - Retrieve payments with optional filters [Required]\n2. `SQUARE_CANCEL_PAYMENT` - Cancel a pending payment if needed [Optional]\n\n**Key parameters**:\n- `begin_time` \u002F `end_time`: RFC 3339 timestamps for date range filtering\n- `sort_order`: 'ASC' or 'DESC' for chronological ordering\n- `cursor`: Pagination cursor from previous response\n- `location_id`: Filter payments by specific location\n\n**Pitfalls**:\n- Timestamps must be RFC 3339 format (e.g., '2024-01-01T00:00:00Z')\n- Pagination required for large result sets; follow `cursor` until absent\n- Only pending payments can be cancelled; completed payments require refunds\n- `SQUARE_CANCEL_PAYMENT` requires exact `payment_id` from list results\n\n### 2. Search and Manage Orders\n\n**When to use**: User wants to find orders by criteria or update order details\n\n**Tool sequence**:\n1. `SQUARE_LIST_LOCATIONS` - Get location IDs for filtering [Prerequisite]\n2. `SQUARE_SEARCH_ORDERS` - Search orders with filters [Required]\n3. `SQUARE_RETRIEVE_ORDER` - Get full details of a specific order [Optional]\n4. `SQUARE_UPDATE_ORDER` - Modify order state or details [Optional]\n\n**Key parameters**:\n- `location_ids`: Array of location IDs to search within (required for search)\n- `query`: Search filter object with date ranges, states, fulfillment types\n- `order_id`: Specific order ID for retrieve\u002Fupdate operations\n- `cursor`: Pagination cursor for search results\n\n**Pitfalls**:\n- `location_ids` is required for SEARCH_ORDERS; get IDs from LIST_LOCATIONS first\n- Order states include: OPEN, COMPLETED, CANCELED, DRAFT\n- UPDATE_ORDER requires the current `version` field to prevent conflicts\n- Search results are paginated; follow `cursor` until absent\n\n### 3. Manage Locations\n\n**When to use**: User wants to view business locations or get location details\n\n**Tool sequence**:\n1. `SQUARE_LIST_LOCATIONS` - List all business locations [Required]\n\n**Key parameters**:\n- No required parameters; returns all accessible locations\n- Response includes `id`, `name`, `address`, `status`, `timezone`\n\n**Pitfalls**:\n- Location IDs are required for most other Square operations (orders, payments)\n- Always cache location IDs after first retrieval to avoid redundant calls\n- Inactive locations may still appear in results; check `status` field\n\n### 4. Invoice Management\n\n**When to use**: User wants to list, view, or cancel invoices\n\n**Tool sequence**:\n1. `SQUARE_LIST_LOCATIONS` - Get location ID for filtering [Prerequisite]\n2. `SQUARE_LIST_INVOICES` - List invoices for a location [Required]\n3. `SQUARE_GET_INVOICE` - Get detailed invoice information [Optional]\n4. `SQUARE_CANCEL_INVOICE` - Cancel a scheduled or unpaid invoice [Optional]\n\n**Key parameters**:\n- `location_id`: Required for listing invoices\n- `invoice_id`: Required for get\u002Fcancel operations\n- `cursor`: Pagination cursor for list results\n- `limit`: Number of results per page\n\n**Pitfalls**:\n- `location_id` is required for LIST_INVOICES; resolve via LIST_LOCATIONS first\n- Only SCHEDULED, UNPAID, or PARTIALLY_PAID invoices can be cancelled\n- CANCEL_INVOICE requires the invoice `version` to prevent race conditions\n- Cancelled invoices cannot be uncancelled\n\n## Common Patterns\n\n### ID Resolution\n\n**Location name -> Location ID**:\n```\n1. Call SQUARE_LIST_LOCATIONS\n2. Find location by name in response\n3. Extract id field (e.g., 'L1234ABCD')\n```\n\n**Order lookup**:\n```\n1. Call SQUARE_SEARCH_ORDERS with location_ids and query filters\n2. Extract order_id from results\n3. Use order_id for RETRIEVE_ORDER or UPDATE_ORDER\n```\n\n### Pagination\n\n- Check response for `cursor` field\n- Pass cursor value in next request's `cursor` parameter\n- Continue until `cursor` is absent or empty\n- Use `limit` to control page size\n\n### Date Range Filtering\n\n- Use RFC 3339 format: `2024-01-01T00:00:00Z`\n- For payments: `begin_time` and `end_time` parameters\n- For orders: Use query filter with date_time_filter\n- All timestamps are in UTC\n\n## Known Pitfalls\n\n**ID Formats**:\n- Location IDs are alphanumeric strings (e.g., 'L1234ABCD')\n- Payment IDs and Order IDs are longer alphanumeric strings\n- Always resolve location names to IDs before other operations\n\n**Versioning**:\n- UPDATE_ORDER and CANCEL_INVOICE require current `version` field\n- Fetch the resource first to get its current version\n- Version mismatch returns a 409 Conflict error\n\n**Rate Limits**:\n- Square API has per-endpoint rate limits\n- Implement backoff for bulk operations\n- Pagination should include brief delays for large datasets\n\n**Response Parsing**:\n- Responses may nest data under `data` key\n- Money amounts are in smallest currency unit (cents for USD)\n- Parse defensively with fallbacks for optional fields\n\n## Quick Reference\n\n| Task | Tool Slug | Key Params |\n|------|-----------|------------|\n| List payments | SQUARE_LIST_PAYMENTS | begin_time, end_time, location_id, cursor |\n| Cancel payment | SQUARE_CANCEL_PAYMENT | payment_id |\n| Search orders | SQUARE_SEARCH_ORDERS | location_ids, query, cursor |\n| Get order | SQUARE_RETRIEVE_ORDER | order_id |\n| Update order | SQUARE_UPDATE_ORDER | order_id, version |\n| List locations | SQUARE_LIST_LOCATIONS | (none) |\n| List invoices | SQUARE_LIST_INVOICES | location_id, cursor |\n| Get invoice | SQUARE_GET_INVOICE | invoice_id |\n| Cancel invoice | SQUARE_CANCEL_INVOICE | invoice_id, version |\n\n## When to Use\nThis skill is applicable to execute the workflow or actions described in the overview.\n",{"name":5,"risk":36,"source":42,"date_added":48,"description":7},"2026-02-27","main","7a38d8e7073e61c16eda85681cb32fb68a8657a5","skills-store\u002Fcopilot\u002Fsquare-automation","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router","https:\u002F\u002Fgithub.com\u002Fsapsapshen","2026-04-14 21:12:12",{"source":8,"skillName":5,"commands":56,"prompt":66,"zipAvailable":67},[57,60,63],{"tool":58,"command":59},"npx","npx skills add sapsapshen\u002Fai-memory-router --skill square-automation",{"tool":61,"command":62},"bunx","bunx skills add sapsapshen\u002Fai-memory-router --skill square-automation",{"tool":64,"command":65},"pnpm","pnpm dlx skills add sapsapshen\u002Fai-memory-router --skill square-automation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcopilot\u002Fsquare-automation\u002FSKILL.md",true,[],[70,80,87,95,101,109],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":74,"licenseFileUrl":75,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":79},"01M72R8PZX1ABFHJGTYPA4CAF1","webapp-testing","To test local web applications, write native Python Playwright scripts.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fwebapp-testing\u002FSKILL.md",[],[],"2026-11-10 22:39:42",{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":79},"01M72QG37MMZNDY7X7GXPAK5W6","python-packaging","Comprehensive guide to creating, structuring, and distributing Python packages using modern packaging tools, pyproject.toml, and publishing to PyPI.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fpython-packaging\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":74,"licenseFileUrl":91,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":79},"01M72NXR0QMP9G46TW6A2DH59C","canvas-design","These are instructions for creating design philosophies - aesthetic movements that are then EXPRESSED VISUALLY. Output only .md files, .pdf files, and .png files.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fcanvas-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fcanvas-design\u002FSKILL.md",[],[],{"skillNo":96,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":74,"licenseFileUrl":97,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":79},"01M72N55TK3EEQ4QK4AWDC2KZS","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":74,"licenseFileUrl":105,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":79},"01M72MTWC150CFAP4Y5GSNKF80","slack-gif-creator","A toolkit providing utilities and knowledge for creating animated GIFs optimized for Slack.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fslack-gif-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fslack-gif-creator\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":74,"licenseFileUrl":113,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":79},"01M72KPT3VVNSP88MNAY466TZT","frontend-design","You are a frontend designer-engineer, not a layout generator.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Ffrontend-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Ffrontend-design\u002FSKILL.md",[],[]]