In short.
Douyin Account Diagnosis is an AI-agent skill for Douyin creators, operators and brands, but the accuracy of its account-health scores and risk alerts is unknown. Its main Python script applies account-size benchmarks, calculates six weighted scores and reports supporting post metrics. The source includes safeguards for small samples, although some missing-data handling and scoring boundaries disagree with the documentation. Bundled auxiliary tools use different scoring systems. Nothing was executed; live compatibility, pricing and reuse rights remain unknown.
Researched and written by an AI model and checked by a second AI model. How it works
The selected resource is skills/douyin-account-diagnosis in redfox-data/redfox-community at commit 0750a5e651cae9f506592abffea2efacaf2a5bfd. The supplied material contains eleven files: SKILL.md, two READMEs, three reference documents, four Python scripts and one sample report. All eleven are covered. The five referenced fixture JSON files and license notices beside or above the folder are absent from the supplied evidence. Unrelated repository resources and live RedFox service behavior are outside this assessment. No installation, code execution, regression run or API call occurred; runtime behavior, costs and applicable reuse rights remain unknown.
The overview
What it is
Douyin Account Diagnosis is the douyin-account-diagnosis skill folder in redfox-data/redfox-community. The source snapshot is available at [https://github.com/redfox-data/redfox-community/tree/0750a5e651cae9f506592abffea2efacaf2a5bfd/skills/douyin-account-diagnosis]. It contains agent instructions, reference documents, Python utilities, a regression script and an example report.
The documented main entry point is scripts/douyin_diagnosis.py. Python retrieves account data and calculates scores; an AI agent presents the results and adds explanations and recommendations. Most instructions and generated text are Chinese, with an English README provided.
Where it fits
This resource offers a documented starting point for reviewing posting activity and engagement patterns. Its useful features are visible formulas, benchmarks adjusted for follower count and recent-post details that let readers inspect the numbers behind a score.
It is better suited to preliminary screening than definitive judgments about creator quality. The supplied evidence does not establish that its thresholds predict successful partnerships, identify fraudulent followers accurately or detect platform restrictions. Those outcomes require evidence beyond the score.
Who it is for
Douyin operators can use the report to locate weak engagement or posting patterns. Creators can compare accounts, while brands and creator management agencies, often called MCNs, can use the supporting metrics during partnership screening.
Developers can inspect and adapt the Python scoring logic, subject to establishing applicable reuse rights. Although the README also proposes account valuation, the supplied implementation contains no revenue, conversion or monetary valuation model. Coverage of international TikTok accounts is not established.
What it produces
The main script retrieves profile information, follower count, lifetime likes, total post count and recent posts. Its report includes publication times, likes, comments, shares, total engagement and available post URLs.
It scores profile completeness, content productivity, engagement health, content quality, content trends and follower quality. The final rating bands are 85–100, 70–84, 50–69 and below 50. Alerts cover suspected inactive followers, engagement manipulation, decline, restricted reach, inactivity and dependence on one successful post.
The script produces a plain-text numerical report. The documented agent workflow adds structured tables, key findings and prioritized suggestions; these narrative elements are not generated by the main Python script itself.
Using it
What you need
Use requires a RedFox account, an API key supplied through REDFOX_API_KEY or the --api-key argument, and network access to [https://redfox.hk]. The main entry point uses Python 3 standard-library modules. The separate douyin_api_client.py utility additionally imports requests; minimum tested Python and dependency versions are unspecified.
For conversational use, a host must support loading skill folders and invoking Python. Documentation lists Qoder, OpenClaw, WorkBuddy, Codex and Claude Code, but compatibility was not demonstrated. No particular language model or model-provider account is specified.
Account availability depends on RedFox indexing. The documentation directs users with missing accounts to [https://redfox.hk/account-storage]; actual indexing availability and turnaround are unknown.
How the scoring works
The main script sends a POST request to [https://redfox.hk/story/api/dyUser/queryData], authenticates with X-API-KEY and uses a 30-second timeout. Inputs containing Chinese characters are searched through accountNames; other inputs use accountIds. The script takes the first returned account.
Follower count determines the benchmark group: S starts at 1,000,000 followers, A at 100,000, B at 10,000 and C covers smaller accounts. These groups adjust engagement, successful-post, production-volume and average-like thresholds. They describe account size rather than the final health rating.
Each dimension is divided by its effective available maximum, converted to a percentage and weighted. Profile, productivity, engagement, quality, trends and followers contribute 10%, 15%, 30%, 20%, 15% and 10%, respectively. The composite uses half-up rounding to an integer.
Several statistics are excluded when samples are too small or ratios cannot be calculated. Trend comparisons require at least four posts that are at least three days old, then compare the earliest and latest thirds. Reports flag samples below five posts, although remaining averages can still be unreliable.
Getting started
The documented installation consists of placing the douyin-account-diagnosis folder in the chosen agent's Skills directory and restarting the client or session. The correct directory depends on the host; the supplied installation instructions have not been verified against current host releases.
Obtain a key through [https://redfox.hk/settings/api-keys?source=github] and configure REDFOX_API_KEY before invoking the skill. Environment-based configuration avoids putting a key directly into the example command. The auxiliary API client's demonstration prints the first eight key characters, which should be considered when sharing its console output.
For the documented six-dimension analysis, use scripts/douyin_diagnosis.py. The separately bundled API client and report generator follow a different endpoint and scoring design.
Example use
The English README illustrates the request: Analyze this Douyin ID 66456544107. The intended response includes the matched account, its composite rating, six dimension scores, alerts, recent-post metrics and improvement suggestions.
After configuring a key, the main script's supplied command pattern is python3 scripts/douyin_diagnosis.py xiaojuju8. This is an invocation example, not an observed run. No score, account availability, response time or API charge is established for either example.
Assessment & evidence
Important limitations
The labels describe indirect signals. For example, the restricted-reach alert fires when more than 30% of returned posts have fewer than ten likes. That condition does not establish restricted distribution. Content quality is inferred from engagement statistics; the script does not inspect video substance or individual follower authenticity.
An empty works array lowers work-dependent scores even when the profile reports existing posts. Documentation acknowledges that upstream data may be missing, so a low score can reflect data availability rather than actual account inactivity. Small samples can also leave a high normalized score supported by very few observations.
Some implementation rules differ from the documentation. Zero followers still produce scored lifetime-likes-to-followers values in two dimensions instead of excluding those undefined ratios. Zero total posts similarly produces a scored average-likes value. Publishing frequency is excluded for an empty works array despite the documented rule that work-dependent items should retain their denominator and receive zero.
At exactly a 5% successful-post rate, the code assigns 3/6 while the rules specify 4/6. Account lookup also takes the first fuzzy match. Separately, API failures return the same empty result used for missing accounts, causing the main function to append account-not-found guidance after reporting the actual error.
How to interpret the numbers
Adjusting thresholds for follower count and excluding undefined statistics are understandable design choices, but the supplied examples do not validate the chosen thresholds across a representative population. The three-day trend filter reduces one source of age bias; it does not give every post an equal observation window.
The dimensions reuse some inputs. Average engagement divided by followers contributes to both engagement health and follower quality, while follower count also earns points directly. Consequently, the six dimensions do not represent six independent measurements.
A mathematical consequence of the single-post dependence formula is that its alert cannot trigger with ten or fewer nonnegative observations: maximum divided by mean cannot exceed the sample count, while the alert requires a value above ten. No alert on a small sample therefore provides little reassurance about dependence.
Other ways to use the data
Developers who need numerical output without agent-written interpretation can invoke the main Python script directly. A manual review can instead compare the reported post metrics and account-size benchmarks without relying on the composite score. These approaches still depend on the quality and availability of RedFox data.
The bundled generate_diagnosis_report.py uses four dimensions and the separate API client targets /story/api/dyUser/query. The included sample report uses three dimensions. Their scores are not interchangeable with the main six-dimension report. No comparative evidence establishes advantages over other Douyin analytics services.
What the evidence establishes
The main script, API reference and scoring rules establish the intended request format and the implemented calculations. The two READMEs explain the intended audience and use cases. The auxiliary scripts and example report establish that multiple scoring designs coexist in the folder.
The regression script contains fixture-based assertions, synthetic edge cases and expected score ranges. Some assertions enforce a preferred ranking between named creators, which demonstrates a design expectation rather than independent accuracy validation. The referenced fixture JSON contents and execution results are not supplied.
Nothing was executed. Successful installation, live API behavior, regression outcomes, latency and diagnostic accuracy are unassessed. Historical results described in comments and the bundled example report do not establish those outcomes for the main entry point.
Access & freshness
Costs
RedFox access uses API credits: the documentation and main script handle insufficient-credit code 3201 and direct users to recharge. The price per query, credit conversion, free allowance, subscription terms and request limits are unknown.
Any charges for the chosen AI host are also unspecified. The regression script is designed to read local fixture files without making API requests, but that does not establish the cost of live account diagnosis.
Licensing and data rights
No applicable license notice is supplied for the skill folder or its parent directories. Permission to copy, modify, redistribute or use the package commercially, and any attribution requirements, therefore remains unknown.
The supplied material also does not establish RedFox's service terms, rights to republish account and post data, or rights covering generated reports. Access to source files and an API key does not resolve those questions.
Version and data freshness
The supplied source snapshot identifies commit 0750a5e651cae9f506592abffea2efacaf2a5bfd and capture time 2026-11-16T20:39:32.647Z. The rules describe changes dated 2026-09-23, while the sample report is dated 2026-06-04. Those dates do not establish present API availability or a package release version.
Activity normally uses the API's crawlTime as its reference, so an activity rating can describe a historical snapshot rather than today's status. When that timestamp is absent or earlier than the newest post, the code substitutes the current time. Identical saved data can therefore receive different time-dependent results on different execution dates.
Before relying on a report
Confirm RedFox's current credit charges, account coverage and data-use terms. Check the matched Douyin ID, crawl timestamp, returned post count and excluded statistics before interpreting the score. Verify serious alerts against additional account evidence before using them in creator screening.
For developer adoption, start with the documented six-dimension entry point and reconcile the missing-denominator and exact-5% inconsistencies. A useful evaluation should cover zero followers, zero total posts, empty results for an otherwise active account, ambiguous nickname matches, sparse mature posts and authentication, credit and network failures. No outcomes from those checks are established here.
