Secretary logo

Secretary

OrganizationPopular
ginlix-ai
secretary

Workspace and research management. Dispatch analyses, monitor running agents, manage workspaces and threads.

Overview

Publisherginlix-ai
RepositoryLangAlpha
Skill namesecretary
Stars
1.8K
Forks
288
Bundled files
Instructions only
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by ginlix-ai on GitHub. Read the source before you install it.

Installation

Install the Secretary AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ginlix-ai/LangAlpha.git /tmp/LangAlpha
mkdir -p .claude/skills
cp -r /tmp/LangAlpha/plugins/langalpha_service/skills/secretary .claude/skills/secretary
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Secretary in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Secretary on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Secretary is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Secretary Skill

Workflow patterns and operational details for the secretary tools. Basic tool signatures are in the tool descriptions — this covers what they don't.


Operational Details

HITL approval

These actions pause for user confirmation before executing:

  • manage_workspaces(action="create"|"delete"|"stop")
  • ptc_agent(...) — always, before dispatch
  • manage_threads(action="delete")

These run immediately (no approval):

  • manage_workspaces(action="list")
  • manage_threads(action="list"|"get_output")
  • agent_output(...)

ptc_agent dispatch

ptc_agent is asynchronous — it dispatches the question and returns immediately. The PTC agent runs in the background with full code execution, charts, and financial data tools.

Return: { success, workspace_id, thread_id, status: "dispatched", report_back }

  • Omit workspace_id → auto-creates a new workspace (blocks ~8-10s for sandbox init)
  • Pass workspace_id → dispatches to existing workspace (new thread)
  • Pass thread_id → continues an existing conversation (overrides workspace_id)
  • report_back=True (default) → when PTC completes, you'll automatically receive the results and should summarize them for the user
  • report_back=False → fire-and-forget; the user will check results in the workspace themselves
  • The returned report_back field is authoritative, not an echo of your request: it can come back false even when you asked for true (degraded backend). If it does, results will NOT arrive automatically — poll with agent_output.
  • Concurrency caps (report-back dispatches only): at most 5 pending analyses per conversation and 10 per user. Over the cap the dispatch fails with an error starting "too many concurrent analyses" — wait for one to finish, or dispatch with report_back=False.

Use the returned thread_id with agent_output to check progress later (only needed when the returned report_back is false).

agent_output

Return: { text, status, thread_id, workspace_id }

  • status: "running" — analysis still in progress, text is partial
  • status: "completed" — full output available
  • status: "error" — something went wrong

turns window (also on manage_threads(action="get_output")): by default you get only the latest turn's output. For a thread continued several times, pass turns=N for the last N turns or turns=0 for recent history (up to the 50 most recent turns) — turns come back oldest→newest, separated by ---. A still-streaming turn always returns just that live turn, regardless of turns.


Workflow Patterns

"What's going on?" — Status overview

When the user asks for a status overview, combine workspace and thread information:

  1. Call manage_workspaces(action="list") to get workspace states
  2. Call manage_threads(action="list") to get recent thread activity
  3. Present a concise summary: running analyses, recently completed work, workspace count

Dispatch + Monitor — Full research cycle

  1. User asks a complex question → call ptc_agent(question="...")
  2. User asks "what happened?" or "is it done?" → call agent_output(thread_id="...")
  3. Summarize the key findings concisely

Continue an existing analysis

When the user wants to follow up on a prior dispatch:

  1. Call ptc_agent(question="...", thread_id="...") with the original thread_id
  2. The PTC agent continues in the same thread with full prior context
  3. To review the whole conversation (not just the newest answer), read it back with agent_output(thread_id="...", turns=0)

Workspace cleanup

When the user wants to tidy up:

  1. Call manage_workspaces(action="list") to identify stale workspaces
  2. Stop idle sandboxes with manage_workspaces(action="stop", workspace_id="...")
  3. Delete workspaces the user no longer needs with manage_workspaces(action="delete", workspace_id="...")

Frequently asked questions

What does the Secretary AI skill do?

Workspace and research management. Dispatch analyses, monitor running agents, manage workspaces and threads.

Why use Secretary on TypingMind?

Because you install it once and use it with any model. Secretary is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Secretary in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/ginlix-ai/LangAlpha/tree/main/plugins/langalpha_service/skills/secretary. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Secretary?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Secretary?

As many as you like. As long as a model supports skills, you can use Secretary with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Secretary AI skill free?

Yes. It is published on GitHub by ginlix-ai under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇