LangPost
Agent that summarizes the Linkedin Articles into Post content
Install / Use
/learn @SauravP97/LangPostREADME
LangPost - An AI Agent that creates a Linkedin Post :sparkles: :postbox:
LangPost is an AI agent that creates a Linkedin post from a Linkedin newsletter article or any other blog post.
<br> <img src="./media/langstudio-graph.png"> <br>Dynamic Few-Shot encoding :trident:
It utilizes the concept of Few Shot encoding. I have an example dataset that maintains a list of Linkedin Post corresponding to my Newsletter Articles. The dataset looks somewhat like this.
<br> <img src="./media/dataset.png" width=500 height=300> <br>I have made the LLM model aware of these examples so that it can generate similar posts on the basis of the content. The key benefit of providing the personalized examples is that the LLM can learn from these examples and produce a Linkedin Post very similar to my writing style and habit.
The execution graph looks like this.
https://github.com/user-attachments/assets/7ce2692c-106b-44a6-94e1-468878c29cdd
We provide the model with the URL of the article and it generates a personalized Linkedin Post for me after learning through the above examples.
Installing Dependencies :syringe:
- Install Typescript: npm install typescript
- Install Dotenv: npm install dotenv
- Install LangChain libraries:
- npm install langchain
- npm install @langchain/community
- npm install @langchain/langgraph
Best Practices for a better Code Health :pushpin:
- Use Prettier to format the codebase.
- Take a look at the langraph.json file to understand how it runs in LangGraph Studio.
Related Skills
qqbot-channel
352.2kQQ 频道管理技能。查询频道列表、子频道、成员、发帖、公告、日程等操作。使用 qqbot_channel_api 工具代理 QQ 开放平台 HTTP 接口,自动处理 Token 鉴权。当用户需要查看频道、管理子频道、查询成员、发布帖子/公告/日程时使用。
docs-writer
100.6k`docs-writer` skill instructions As an expert technical writer and editor for the Gemini CLI project, you produce accurate, clear, and consistent documentation. When asked to write, edit, or revie
model-usage
352.2kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
arscontexta
3.1kClaude Code plugin that generates individualized knowledge systems from conversation. You describe how you think and work, have a conversation and get a complete second brain as markdown files you own.
