composio-composer-xskill
Enables posting tweets to Twitter/X through Composio's integration platform via HTTP and BeautifulSoup. Use when posting tweets or integrating with Composio.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/austindixson/composio-composer-xskillComposio Composer X Skill
This skill enables posting tweets to Twitter/X through Composio's integration platform. It uses HTTP requests with BeautifulSoup to interact with Composio's web interface, providing a post_tweet function that can be called from OpenClaw.
Installation
-
Install dependencies:
pip install requests beautifulsoup4 python-dotenv -
Configure credentials in
.envfile or environment -
Import and use the skill in your OpenClaw workflow
Tool Definitions
post_tweet
Posts a tweet to Twitter/X using Composio.
Function Signature:
def post_tweet(content: str, composio_auth_token: str) -> dict:
Parameters:
content(str): The tweet content (max 280 characters)composio_auth_token(str): The Composio authentication token for authorization
Returns:
dict: Contains:success(bool): Whether the tweet was posted successfullytweet_id(str): The posted tweet's ID (on success)tweet_url(str): URL to view the tweet (on success)error(str): Error message (on failure)
Example:
result = post_tweet(
content="Hello from OpenClaw! 🐾",
composio_auth_token="your_composio_auth_token_here"
)
print(f"Tweet posted: {result.get('tweet_url')}")
get_tweet
Retrieves a tweet by ID.
Function Signature:
def get_tweet(tweet_id: str, composio_auth_token: str) -> dict:
Parameters:
tweet_id(str): The tweet ID to retrievecomposio_auth_token(str): The Composio authentication token
Returns:
dict: Contains tweet data or error information
delete_tweet
Deletes a tweet.
Function Signature:
def delete_tweet(tweet_id: str, composio_auth_token: str) -> dict:
Parameters:
tweet_id(str): The tweet ID to deletecomposio_auth_token(str): The Composio authentication token
Returns:
dict: Containssuccess(bool) and status message
Configuration
The skill requires the following environment variables:
COMPOSIO_CLIENT_ID: Your Composio client IDCOMPOSIO_API_KEY: Your Composio API keyCOMPOSIO_SESSION_TOKEN: Your Composio session tokenCOMPOSIO_BEARER_TOKEN: Your Composio bearer tokenCOMPOSIO_USER_ID: Your Composio user ID
Notes
- This implementation uses HTTP requests to emulate Composio interaction
- Direct API access through OpenClaw is currently unavailable
- Rate limits apply per Twitter/X and Composio policies
- Session tokens expire after 7200 seconds (2 hours)
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-austindixson-composio-composer-xskill": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
what-just-happened
When the gateway comes back online, check recent logs and post a short message about what happened (restart, SIGUSR1, auth change, reconnect). User sees the response in TUI or Telegram.
agent-loops
Multi-agent workflow orchestrator. Use when the user asks to build, create, make, ship, develop, or launch any software (apps, webapps, websites, mobile apps, APIs, tools, bots, dashboards, SaaS, MVPs); fix or debug bugs; review or audit code; research topics; refactor code; or publish skills.
creative-agents
Integration scripts for the creative agent swarm managed by overstory (Claude Code). Use when configuring or running researcher, social media, blog, or scribe agents.
docker
Installs and uses Docker reliably with official docs. Use when installing Docker (Desktop or Engine), building or running containers, writing Dockerfiles, using docker compose, or when the user asks about containers, images, or Docker CLI.
skill-doc-formatter
Formats SKILL.md (OpenClaw/Cursor skill docs) for optimal display on ClawHub. Produces a consistent structure—Description, Installation, Usage with benefit-focused examples, and Commands—so skill pages are clear and scannable.