Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

Asana.Update From Gmail

БесплатноБез исполняемых скриптовНе проверен

Copy project emails from Gmail into Asana tasks for Noesis, Tyrn, Tymes

gpsaggeseот gpsaggese★ 158 звёзд на GitHub

Об этом скилле

Goal

  • Read the emails in the Gmail mailbox [email protected] about the projects Noesis, Tyrn, and Tymes
  • Update the Asana board of each project:
    • Copy each email into the comments of the matching task
    • Create new tasks to track the activities that the emails describe
  • Write a short plan with links to the Asana tasks and get the user approval before any change to Asana

Plan Only (--only_plan)

  • With --only_plan, follow .claude/skills/skill.rules.md section "Create Only a Plan with --only_plan"
  • Write the plan to asana.update_from_gmail.<INPUT_REF>.md, then stop without executing the skill
    • Run the skill through "Write the Plan", and stop before "Get Approval"

Conventions

  • Follow the rules in .claude/skills/asana.rules.md
  • Follow the template .claude/templates/asana_plan.template.md
  • Follow the markdown conventions in .claude/skills/markdown.rules.md

Arguments

  • <PROJECTS>: projects to process, any of Noesis, Tyrn, Tymes
    • Default: all three
  • <SINCE>: first day of the email window, in the format YYYY-MM-DD
    • Default: 7 days before today

Workflow

Resolve the Projects

  • Fetch the contributors file:
    > gh api repos/gpsaggese/gpsaggese.github.io/contents/research/contributors.md \
        --jq .content | base64 -d
    
    • If gh fails, use WebFetch on the GitHub URL of the file
  • For each project in <PROJECTS>, find its section in the file
    • Match the section by the start of its title, as described in .claude/skills/asana.rules.md # Source of Truth
    • Extract <PROJECT_GID> from the URL segment /project/<PROJECT_GID>/ of the Asana board link
    • Collect the project signals from the other links of the section
    • Collect the names and emails of the people of the project
      • Use the contributors table (Project column) when the project has rows
      • Otherwise use the Asana project members from get_project
  • If a project has no Asana board link, report it and skip the project
  • Call get_project with <PROJECT_GID> for each project, before any read or write of its tasks
    • Record the name, the permalink, and the members
    • If the call fails, report the error and skip the project
    • Do not use the workspaces list of get_me as a check, since the workspace can be missing from it

Verify the Mailbox

  • Load the Gmail tools with ToolSearch if their schemas are not available
  • Verify the connected mailbox is [email protected] as described in .claude/skills/asana.rules.md # Gmail
    • Open one recent thread with get_thread
    • Check that [email protected] appears in its headers
  • If the check fails, stop and tell the user

Collect the Emails

  • For each project, build one Gmail query:
    • after:<SINCE>
    • AND an OR group of the contributor emails (from:, to:, cc:), the project name, and the project signals
  • Run search_threads with the query, then get_thread for each thread
  • For each message, record:
    • Message ID, thread ID, date
    • From, To, Cc
    • Subject, body, attachment names
  • Drop the messages that are not relevant, following .claude/skills/asana.rules.md ## Relevance
  • If one message matches several projects, mark it Decide

Read the Asana State

  • For each project, list the tasks with get_tasks using project=<PROJECT_GID>
    • Request the fields name,notes,assignee.name,due_on,completed,permalink_url
    • Include recently completed tasks with completed_since
    • Follow the pagination token until all tasks are read
  • For the tasks that match some email, read the comments with get_task_stories using task_ids and resource_subtype=comment_added
    • Find the markers [gmail:<MESSAGE_ID>]
    • Mark the messages that already have a marker as Skip

Match Emails to Tasks

  • Give each remaining message one outcome (Comment, New task, Skip, Decide) following .claude/skills/asana.rules.md # Matching Emails to Tasks
  • Before a New task outcome, search the project for duplicates
    • Call search_tasks with projects_any=<PROJECT_GID> and text
    • If a similar task exists, change the outcome to Comment on that task
  • Note any change to an existing task that an email states explicitly
    • Do not apply it: it goes to Suggested Field Changes in the plan

Write the Plan

  • Create asana.update_from_gmail.<INPUT_REF>.md in the current directory
    • <INPUT_REF> comes from <PROJECTS>, as in .claude/skills/skill.rules.md ### Name the Output File
    • Without <PROJECTS>, the name is asana.update_from_gmail.md
    • Create it before any change to Asana
  • Follow the template .claude/templates/asana_plan.template.md
    • Add one H1 section per project
    • Link each task to update with its Asana URL
    • Put each Decide message under Needs Decision
    • Put each suggested change under Suggested Field Changes
  • Print the path of the plan and these counts for each project:
    • Comments
Полный SKILL.md на GitHub

Установить Asana.Update From Gmail в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл Asana.Update From Gmail?

Copy project emails from Gmail into Asana tasks for Noesis, Tyrn, Tymes

Как установить скилл Asana.Update From Gmail?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Asana.Update From Gmail запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить Asana.Update From Gmail с