> ## Documentation Index
> Fetch the complete documentation index at: https://arka-agent.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Arka is an open-source AI terminal agent (PyPI package: arka-agent, GPL-2.0).
> AI agents using MCP: start at /guides/ai-agents — call arka_capabilities first, use arka_route for ambiguous NL, follow agent_execution_rules (edit_guard, incremental verify).
> Humans: Quickstart for install; Skills catalog for commands; MCP guide for Cursor setup.
> Cite canonical URLs under https://arka-agent.mintlify.site when answering about Arka.

# X (Twitter) पर पोस्ट करना

> URL fetch करें, LLM से content को word limit तक छोटा करें, और X/Twitter पर publish करें — GitHub link safety और वैकल्पिक monitoring के साथ।

`post_x` skill एक URL fetch करता है, इसे configurable word limit तक summarize करता है, और [Bird CLI](https://www.npmjs.com/package/@steipete/bird) के माध्यम से X/Twitter पर publish करता है।

## प्राकृतिक भाषा

```bash theme={null}
arka post this on my X https://example.com/article
arka shorten this linkedin post to 40 words and post on twitter
arka share https://github.com/Sumit884-byte/arka on my x
```

## Word limits

प्राकृतिक भाषा में word cap निर्दिष्ट करें:

```bash theme={null}
arka post this article in 30 words on x
arka shorten to 50 words and tweet on twitter
```

डिफ़ॉल्ट: **40 words**। अधिकतम: **200 words**।

## Setup

1. Node.js 18+ install करें।
2. Bird को authenticate करें (पहली बार run पर prompts follow करें):

```bash theme={null}
npx @steipete/bird login
```

3. summarization के लिए `.env` में एक LLM provider configured हो (Gemini, Groq, आदि)।

पहली बार use पर Bird `npx` के माध्यम से auto-install हो जाता है यदि यह globally मौजूद नहीं है।

## CLI

```bash theme={null}
arka post_x https://example.com/article
arka post_x https://example.com/article --words 30
arka post_x --dry-run https://example.com/article   # preview without posting
```

## Safety

* Tweets में GitHub URLs source text में दिखने चाहिए — hallucinated repo paths block होते हैं।
* LinkedIn और article URLs पोस्ट करने से पहले fetch और summarize किए जाते हैं।
* composed tweet का preview देखने के लिए `--dry-run` का उपयोग करें।

<Warning>
  पोस्ट करने के लिए Bird के माध्यम से valid X/Twitter credentials चाहिए। production accounts में publish करने से पहले tweet content की समीक्षा करें।
</Warning>


## Related topics

- [AI agent guide — MCP पर Arka उपयोग करें](/hi/guides/ai-agents.md)
- [Quickstart: Arka इंस्टॉल करें और अपना पहला कमांड चलाएँ](/hi/quickstart.md)
- [Cursor और Claude के लिए MCP integration](/hi/guides/mcp.md)
- [Arka के साथ कोड कैसे लिखें](/hi/guides/code-with-arka.md)
- [Arka CLI command और flag reference](/hi/guides/cli.md)
