context

Retrieve Facebook Ads credentials and account IDs from a Telegram ID.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/dengineproblem/agents-monorepo --skill context-dengineproblem
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context
Source: https://github.com/dengineproblem/agents-monorepo/tree/main/moltbot-workspace-facebook/skills/context
Command: npx skills add https://github.com/dengineproblem/agents-monorepo --skill context-dengineproblem

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill ensures that the AI has the necessary user context and credentials before interacting with Facebook Ads, preventing errors and enabling personalized actions.

Core Features & Use Cases

  • User Authentication: Retrieves user account details and API access tokens based on a Telegram ID.
  • Onboarding Flow: Detects new users and initiates the onboarding process.
  • Use Case: When a user asks to see their ad campaigns, this Skill is called first to get their accountId and accessToken, which are then used in subsequent API calls to Facebook.

Quick Start

Call the getContext API endpoint with the user's Telegram ID to retrieve their credentials.

Frequently Asked Questions about context

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I retrieve Facebook Ads credentials using a Telegram ID?

To retrieve Facebook Ads credentials using a Telegram ID, call the getContext API endpoint. This returns the necessary account ID and access token required to authorize subsequent ad management tasks.

Why does my Facebook Ads integration require user context before executing tasks?

Facebook Ads integrations require user context to prevent API errors and enable personalized actions. Retrieving the specific user's account ID and access token first ensures that subsequent ad management calls are correctly authorized.

What happens when a new user tries to access Facebook Ads features without prior onboarding?

When a new user attempts to access Facebook Ads features without prior onboarding, the context retrieval process returns a specific error code. This error code automatically triggers the onboarding flow to capture their credentials.

Can I manage ad campaigns directly through this context retrieval process?

You cannot manage ad campaigns directly through the context retrieval process. It solely retrieves user authentication credentials like account IDs and access tokens, which must then be passed to separate Facebook Ads API calls.

Does this authentication method support platforms other than Telegram?

This authentication method does not support platforms other than Telegram. It explicitly retrieves user account details and API access tokens based on a provided Telegram ID to establish the correct user context.

When do I need to fetch access tokens for Facebook Ads automation?

You need to fetch access tokens for Facebook Ads automation whenever a user initiates a request to view or manage their ad campaigns. This credential retrieval ensures the correct user context is established before executing any personalized actions.