agentsclimarketplace

Ingest threads

Skill allanbian1017/skills/skills/personal/ingest-threads

Skills for automate workflows, assist in daily tasks, and enhance overall productivity.

Install
npx -y skills add allanbian1017/skills --skill ingest-threads

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Fetch a Threads post and produce a summary report in the configured output language (defaulting to English), then mark the Google Task as completed. Use when the user provides a Threads URL to process, says 'process this Threads post', or when invoked by daily-workflow for tasks in the Delegate list.

SKILL.md

3.2 KB, as published. Nobody here has run it

ingest-threads

Full lifecycle for a single Threads task: fetch → summarise → write report → append suggestion → mark done.

Prerequisites: agent-browser installed. For Google Tasks API calls, refer to ../gws-tasks/SKILL.md.


Parameters

ParameterRequiredDescription
THREADS_URLYesThe Threads post URL to process.
TASK_IDYesGoogle Tasks task ID to mark as completed.
DELEGATE_LIST_IDYesGoogle Tasks tasklist ID for the Delegate list.
SuggestionOutputPathOptionalWhen provided by daily-workflow, pass through to suggestion_log.md to write to a per-subagent file instead of the default location.

Procedure

Step 1 — Fetch the Threads post content

Follow the full procedure defined in fetch-threads-post:

📄 Read and follow ../fetch-threads-post/SKILL.md

Use a unique session name per task to avoid state collisions:

agent-browser --session ingest-threads-<task-id> open "<THREADS_URL>"
# ... follow fetch-threads-post procedure to expand and extract content ...
agent-browser --session ingest-threads-<task-id> close

Anti-Truncation Standard:

  1. Click "Read more" if visible.
  2. Run agent-browser --session ... scroll down 1000 to trigger lazy-loading.
  3. Use agent-browser --session ... get text body as the primary extraction method.
  4. A complete post ends with a footer, signature, or engagement metrics. Truncated = retry.
  5. The 📄 原始內容 section MUST contain verbatim extraction — never summarize.

Step 2 — Verify and generate a summary in the configured output language

Verification: Compare extracted text length against the visible post. If cut off, repeat extraction.

📄 Read ../content-summary/references/summarise.md

Step 3 — Write the report

📄 Read ../content-summary/references/filename_rules.md

📄 Read ../content-summary/references/output_template.md

Confirm the file is written before proceeding.

Step 4 — Append suggestion to pending backlog

📄 Read ../content-summary/references/ai_analysis.md

📄 Follow ../content-summary/references/suggestion_log.md

{SourceType} = Threads

If SuggestionOutputPath was provided by the caller, pass it through to suggestion_log.md.

Step 5 — Mark the task as completed

gws tasks tasks patch \
  --params '{"tasklist": "<DELEGATE_LIST_ID>", "task": "<TASK_ID>"}' \
  --json '{"status": "completed"}'

Log: "✅ Task '<title>' marked as completed. Report saved to reports/Threads_YYYY_MM_DD/<filename>.md"


Troubleshooting

Threads URL behind login wall: Follow the authenticated access section in fetch-threads-post/SKILL.md.

gws tasks tasks patch fails: Double-check tasklist and task are IDs (not titles).

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.