mo-note
Original:🇨🇳 Chinese
Translated
Mowen Notes. Triggered when viewing someone's homepage note list, my note list, or searching for notes.
9installs
Sourcemowenxd/cli
Added on
NPX Install
npx skill4agent add mowenxd/cli mo-noteTags
Translated version includes tags in frontmatterSKILL.md Content (Chinese)
View Translation Comparison →Preconditions
CRITICAL — Please read the first, which includes initialization, authentication, output parsing, and security rules
Shared Rulesmoclimocli note - Mowen Notes
Command Selection Rules
- Use when the user wants to "search for notes related to a certain keyword".
mocli note search - Use when the user wants to "view someone's homepage/public notes/popular notes/premium notes/collections".
mocli note homepage - Use when the user wants to "view my own notes/private notes/unpublished notes/notes I wrote".
mocli note mine - When the user mentions a person's name, nickname, or alias but doesn't provide a UID, prioritize using to look up the UID; if no match is found, consider using
mo-remarkor ask the user to supplement the UID.mocli user search - When displaying the note list, prioritize traversing in the order of , then get the note details from
reply.note_ids, and usereply.notes[note_id]to get the author information fromreply.notes[note_id].uid.reply.users
mocli note search [--keyword] [--count] [--focus]
This command is used to search for notes by keyword. is a required parameter; if the user explicitly requests to search only for notes from a specified user, first parse the user's UID, then specify the UID via .
--keyword--focusOptional parameters:
- : Search keyword (required).
--keyword string - : Number of notes to return. Range:
--count int. Default:1-100.20 - : Only search for notes from the specified user (UID).
--focus string
Usage Examples
- Search for notes containing the keyword "AI Agent" in Mowen:
mocli note search --keyword "AI Agent" - Search for 10 notes containing "Product Thinking" in Mowen:
mocli note search --keyword "产品思考" --count 10 - Search for notes related to "Prompt" written by Lao Chi (specified UID) in Mowen:
mocli note search --keyword "Prompt" --focus xxxxxxxx --count 20
Output Example
{
"code": 0,
"status": "OK",
"reply": {
"note_ids": [
"3jv1AiAjXJ4aBC83LqdMC",
"ZVDGaChlin5voLpIp_9TM"
],
"notes": {
"3jv1AiAjXJ4aBC83LqdMC": {
"note_id": "3jv1AiAjXJ4aBC83LqdMC",
"uid": "Qiz5hxiY5wr5L76fyd8Kv",
"title": "最近心情",
"brief": "笔记摘要",
"url": "https://note.mowen.cn/detail/3jv1AiAjXJ4aBC83LqdMC?from=mocli"
},
"ZVDGaChlin5voLpIp_9TM": {
"note_id": "ZVDGaChlin5voLpIp_9TM",
"uid": "Qiz5hxiY5wr5L76fyd8Kv",
"title": "大家好呀,我是小白",
"brief": "笔记摘要",
"url": "https://note.mowen.cn/detail/ZVDGaChlin5voLpIp_9TM?from=mocli"
}
},
"users": {
"Qiz5hxiY5wr5L76fyd8Kv": {
"uid": "xxxxxxxxxxxxxx",
"name": "精卫鸟.",
"intro": "一只小小鸟,订阅我的没几个人,所以你们都是特殊的。。"
}
}
}
}Reply Field Description
| Field | Type | Description | Reference Field |
|---|---|---|---|
| array | Ordered list of note IDs. Prioritize traversing this field when displaying the list. | - |
| map[string]NoteInfo | Note information Map, with note IDs as keys and note information as values. | |
| map[string]UserInfo | User information Map, with user UIDs as keys and user information as values. Use | |
mocli note homepage [--uid] [--filter] [--count] [--recent]
This command is used to view the note list on a user's personal homepage, i.e., publicly displayed notes; unlike , it does not return private notes of the currently authenticated user. If the user does not provide , the homepage of the currently authenticated user is viewed by default.
mocli note mine--uidOptional parameters:
- : Mowen UID of the user whose homepage notes are to be viewed. Uses the UID of the currently authenticated user by default.
--uid string - : Filter type. Supported values:
--filter string,all(all notes),album(collections),fee(premium notes). Default:popular(popular notes, i.e., most read).all - : Number of notes to return. Range:
--count int. Default:1-100.20 - : Recent time filter, currently supports days(d) and hours(h), e.g.:
--recent string,2h, range:1d. This parameter is ignored when1h-15d.--filter=popular
Usage Examples
- Check which notes I have published recently:
mocli note homepage --recent 3d - Get 10 premium notes published by Erye:
mocli note homepage --uid xxxxxxxx --filter fee --count 10 - Get 10 note collections published by Lao Chi in the last 3 days:
mocli note homepage --uid xxxxxxxx --filter album --count 10 --recent 3d - Get 30 most popular notes from Teacher Chi:
mocli note homepage --uid xxxxxx --filter popular --count 30
Output Example
{
"code": 0,
"status": "OK",
"reply": {
"note_ids": [
"3jv1AiAjXJ4aBC83LqdMC",
"ZVDGaChlin5voLpIp_9TM"
],
"notes": {
"3jv1AiAjXJ4aBC83LqdMC": {
"note_id": "3jv1AiAjXJ4aBC83LqdMC",
"uid": "Qiz5hxiY5wr5L76fyd8Kv",
"title": "最近心情",
"brief": "笔记摘要",
"url": "https://note.mowen.cn/detail/3jv1AiAjXJ4aBC83LqdMC?from=mocli"
},
"ZVDGaChlin5voLpIp_9TM": {
"note_id": "ZVDGaChlin5voLpIp_9TM",
"uid": "Qiz5hxiY5wr5L76fyd8Kv",
"title": "大家好呀,我是小白",
"brief": "笔记摘要",
"url": "https://note.mowen.cn/detail/ZVDGaChlin5voLpIp_9TM?from=mocli"
}
},
"users": {
"Qiz5hxiY5wr5L76fyd8Kv": {
"uid": "xxxxxxxxxxxxxx",
"name": "精卫鸟.",
"intro": "一只小小鸟,订阅我的没几个人,所以你们都是特殊的。。"
}
}
}
}Reply Field Description
| Field | Type | Description | Reference Field |
|---|---|---|---|
| array | Ordered list of note IDs. Prioritize traversing this field when displaying the list. | - |
| map[string]NoteInfo | Note information Map, with note IDs as keys and note information as values. | |
| map[string]UserInfo | User information Map, with user UIDs as keys and user information as values. Use | |
mocli note mine [--filter] [--count] [--recent]
This command is used to view the list of notes created by the currently authenticated user, which may include private, partially public, fully public, and premium notes. It differs from : is for the current authenticated user's creation management perspective, while is for the public homepage display perspective. Prioritize using this command when the user only says "my notes"; if the user explicitly says "my homepage notes/public homepage", use .
mocli note homepageminehomepagehomepageOptional parameters:
- : Filter type. Supported values:
--filter string,all(all notes),fee(premium notes),pub(fully public),cond-pub(partially public). Default:priv(private).all - : Number of notes to return. Range:
--count int. Default:1-100.20 - : Recent time filter, supports days(d) and hours(h), e.g.:
--recent string,2h, range:1d.1h-15d
Usage Examples
- Check the notes I wrote in the last 3 days:
mocli note mine --recent 3d - Get 10 of my own premium notes:
mocli note mine --filter fee --count 10 - Get 20 of my own private notes (in the last 3 days):
mocli note mine --filter priv --count 20 --recent 3d
Output Example
{
"code": 0,
"status": "OK",
"reply": {
"note_ids": [
"3jv1AiAjXJ4aBC83LqdMC",
"ZVDGaChlin5voLpIp_9TM"
],
"notes": {
"3jv1AiAjXJ4aBC83LqdMC": {
"note_id": "3jv1AiAjXJ4aBC83LqdMC",
"uid": "Qiz5hxiY5wr5L76fyd8Kv",
"title": "最近心情",
"brief": "笔记摘要",
"url": "https://note.mowen.cn/detail/3jv1AiAjXJ4aBC83LqdMC?from=mocli"
},
"ZVDGaChlin5voLpIp_9TM": {
"note_id": "ZVDGaChlin5voLpIp_9TM",
"uid": "Qiz5hxiY5wr5L76fyd8Kv",
"title": "大家好呀,我是小白",
"brief": "笔记摘要",
"url": "https://note.mowen.cn/detail/ZVDGaChlin5voLpIp_9TM?from=mocli"
}
},
"users": {
"Qiz5hxiY5wr5L76fyd8Kv": {
"uid": "xxxxxxxxxxxxxx",
"name": "精卫鸟.",
"intro": "一只小小鸟,订阅我的没几个人,所以你们都是特殊的。。"
}
}
}
}Reply Field Description
| Field | Type | Description | Reference Field |
|---|---|---|---|
| array | Ordered list of note IDs. Prioritize traversing this field when displaying the list. | - |
| map[string]NoteInfo | Note information Map, with note IDs as keys and note information as values. | |
| map[string]UserInfo | User information Map, with user UIDs as keys and user information as values. Use | |
Display Rules
** Reference **
Public Display Rules