AfterShip integration. Manage data, records, and automate workflows. Use when the user wants to interact with AfterShip data.
68
61%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Passed
No known issues
Optimize this skill with Tessl
npx tessl skill review --optimize ./skills/aftership/SKILL.mdAfterShip is a shipment tracking platform for e-commerce businesses. It allows merchants to track packages from various carriers in one place and provides notifications to customers about shipment status. E-commerce businesses of all sizes use AfterShip to improve the post-purchase experience.
Official docs: https://developers.aftership.com/
This skill uses the Membrane CLI to interact with AfterShip. Membrane handles authentication and credentials refresh automatically — so you can focus on the integration logic rather than auth plumbing.
Install the Membrane CLI so you can run membrane from the terminal:
npm install -g @membranehq/cli@latestmembrane login --tenant --clientName=<agentType>This will either open a browser for authentication or print an authorization URL to the console, depending on whether interactive mode is available.
Headless environments: The command will print an authorization URL. Ask the user to open it in a browser. When they see a code after completing login, finish with:
membrane login complete <code>Add --json to any command for machine-readable JSON output.
Agent Types : claude, openclaw, codex, warp, windsurf, etc. Those will be used to adjust tooling to be used best with your harness
Use connection connect to create a new connection:
membrane connect --connectorKey aftershipThe user completes authentication in the browser. The output contains the new connection id.
membrane connection list --jsonSearch using a natural language description of what you want to do:
membrane action list --connectionId=CONNECTION_ID --intent "QUERY" --limit 10 --jsonYou should always search for actions in the context of a specific connection.
Each result includes id, name, description, inputSchema (what parameters the action accepts), and outputSchema (what it returns).
| Name | Key | Description |
|---|---|---|
| Update Tracking by ID | update-tracking-by-id | Update an existing tracking by its ID. |
| Get Couriers | get-couriers | Return a list of couriers. |
| Detect Courier | detect-courier | Return a list of matched couriers based on tracking number format. |
| Create Tracking | create-tracking | Create a new tracking for a shipment. |
| Delete Tracking by ID | delete-tracking-by-id | Delete a tracking by its ID. |
| Get Tracking by ID | get-tracking-by-id | Get tracking results of a single tracking by its ID. |
| List Trackings | list-trackings | Get tracking results of multiple trackings with optional filters for status, courier, dates, and more. |
If no suitable action exists, describe what you want — Membrane will build it automatically:
membrane action create "DESCRIPTION" --connectionId=CONNECTION_ID --jsonThe action starts in BUILDING state. Poll until it's ready:
membrane action get <id> --wait --jsonThe --wait flag long-polls (up to --timeout seconds, default 30) until the state changes. Keep polling until state is no longer BUILDING.
READY — action is fully built. Proceed to running it.CONFIGURATION_ERROR or SETUP_FAILED — something went wrong. Check the error field for details.membrane action run <actionId> --connectionId=CONNECTION_ID --jsonTo pass JSON parameters:
membrane action run <actionId> --connectionId=CONNECTION_ID --input '{"key": "value"}' --jsonThe result is in the output field of the response.
membrane action list --intent=QUERY (replace QUERY with your intent) to find existing actions before writing custom API calls. Pre-built actions handle pagination, field mapping, and edge cases that raw API calls miss.56d7336
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.