Ingest threads
Skills for automate workflows, assist in daily tasks, and enhance overall productivity.
npx -y skills add allanbian1017/skills --skill ingest-threadsAssembled 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-browserinstalled. For Google Tasks API calls, refer to../gws-tasks/SKILL.md.
Parameters
| Parameter | Required | Description |
|---|---|---|
THREADS_URL | Yes | The Threads post URL to process. |
TASK_ID | Yes | Google Tasks task ID to mark as completed. |
DELEGATE_LIST_ID | Yes | Google Tasks tasklist ID for the Delegate list. |
SuggestionOutputPath | Optional | When 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:
- Click "Read more" if visible.
- Run
agent-browser --session ... scroll down 1000to trigger lazy-loading. - Use
agent-browser --session ... get text bodyas the primary extraction method. - A complete post ends with a footer, signature, or engagement metrics. Truncated = retry.
- 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).