Skip to content
Back to skills

Composio Composer Xskill

ASecurity

Enables posting tweets to Twitter/X through Composio's integration platform via HTTP and BeautifulSoup. Use when posting tweets or integrating with Composio.

  • 21 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 7, 2026
securitypythonbashapi

Works with

  • cli
  • api

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 7 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill composio-composer-xskill --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Composio Composer Xskill?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Composio Composer Xskill
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-composio-composer-xskill/badge)](https://www.skillsdirectory.com/skills/modbender-composio-composer-xskill)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: composio-composer-xskill
displayName: Composio Composer X Skill
description: Enables posting tweets to Twitter/X through Composio's integration platform via HTTP and BeautifulSoup. Use when posting tweets or integrating with Composio.
---

# Composio 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

1. Install dependencies:
   ```bash
   pip install requests beautifulsoup4 python-dotenv
   ```

2. Configure credentials in `.env` file or environment

3. Import and use the skill in your OpenClaw workflow


## Tool Definitions

### post_tweet

Posts a tweet to Twitter/X using Composio.

**Function Signature:**
```python
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 successfully
  - `tweet_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:**
```python
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:**
```python
def get_tweet(tweet_id: str, composio_auth_token: str) -> dict:
```

**Parameters:**
- `tweet_id` (str): The tweet ID to retrieve
- `composio_auth_token` (str): The Composio authentication token

**Returns:**
- `dict`: Contains tweet data or error information

### delete_tweet

Deletes a tweet.

**Function Signature:**
```python
def delete_tweet(tweet_id: str, composio_auth_token: str) -> dict:
```

**Parameters:**
- `tweet_id` (str): The tweet ID to delete
- `composio_auth_token` (str): The Composio authentication token

**Returns:**
- `dict`: Contains `success` (bool) and status message


## Configuration

The skill requires the following environment variables:
- `COMPOSIO_CLIENT_ID`: Your Composio client ID
- `COMPOSIO_API_KEY`: Your Composio API key
- `COMPOSIO_SESSION_TOKEN`: Your Composio session token
- `COMPOSIO_BEARER_TOKEN`: Your Composio bearer token
- `COMPOSIO_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)

Files in this skill

  • README.md4.3 KB
  • SKILL.md2.8 KB
  • __init__.py2.3 KB
  • config.py3.1 KB
  • examples/example_usage.py1.1 KB
  • requirements.txt64 B
  • twitter_client.py14.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.